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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user