forked from boostorg/smart_ptr
Add test for make_shared's move-emulation support
This tests the functionality added with PR boostorg/smart_ptr#24. Specifically this tests that passing moveable-only types to constructors is possible through make_shared. Note that real rvalue's still cannot be passed that way on C++03 unfortunately because there's no generic way of accomplishing that with current move emulation.
This commit is contained in:
1 parent
48401806f4
commit
b5498d944e
2 files changed
+82
No files matched your search
@@ -47,6 +47,7 @@ import testing ;
|
||||
[ run spinlock_try_test.cpp : : : <threading>multi : spinlock_try_test.mt ]
|
||||
[ run spinlock_pool_test.cpp ]
|
||||
[ run make_shared_test.cpp ]
|
||||
[ run make_shared_move_emulation_test.cpp ]
|
||||
[ run make_shared_perfect_forwarding_test.cpp ]
|
||||
[ run shared_ptr_convertible_test.cpp ]
|
||||
[ run wp_convertible_test.cpp ]
|
||||
|
||||
Reference in new issue
Block a user