forked from boostorg/move
Modify unique_ptr's constructor from convertible unique_ptr's to take the argument by value. This allows constructing unique_ptr from functions returning convertible unique_ptr's. See https://svn.boost.org/trac/boost/ticket/11259 for some details.
This commit is contained in:
@@ -134,7 +134,7 @@ void test()
|
||||
|
||||
|
||||
////////////////////////////////
|
||||
// make_unique_single
|
||||
// make_unique_array
|
||||
////////////////////////////////
|
||||
|
||||
namespace make_unique_array{
|
||||
|
||||
Reference in New Issue
Block a user