forked from boostorg/container
small_vector: Added copy/move constructor/assignments from small_vector_base
This commit is contained in:
1 parent
75f7c8fa73
commit
641d1a5d5a
4 files changed
+61
-21
No files matched your search
@@ -88,7 +88,7 @@ class alloc_propagate_wrapper
|
||||
{}
|
||||
|
||||
alloc_propagate_wrapper &operator=(BOOST_COPY_ASSIGN_REF(alloc_propagate_wrapper) x)
|
||||
{ this->Base::operator=(x); return *this; }
|
||||
{ this->Base::operator=((const Base &)x); return *this; }
|
||||
|
||||
alloc_propagate_wrapper &operator=(BOOST_RV_REF(alloc_propagate_wrapper) x)
|
||||
{ this->Base::operator=(boost::move(static_cast<Base&>(x))); return *this; }
|
||||
|
||||
Reference in new issue
Block a user