2
0
mirror of https://github.com/boostorg/atomic.git synced 2026-01-27 18:52:09 +00:00

Added support for types with non-trivial default constructors.

This commit is contained in:
Andrey Semashev
2014-07-07 22:40:41 +04:00
parent 6a184d95dd
commit 4dee330229
6 changed files with 65 additions and 21 deletions

View File

@@ -51,5 +51,9 @@ int test_main(int, char *[])
test_large_struct_api();
// Test that boost::atomic<T> only requires T to be trivially copyable.
// Other non-trivial constructors are allowed.
test_struct_with_ctor_api();
return 0;
}