forked from boostorg/unordered
Add prototype of move assignment
This commit is contained in:
1 parent
d7acb7e8b8
commit
212c6a1e4d
3 files changed
+224
-2
No files matched your search
@@ -1381,8 +1381,8 @@ public:
|
||||
reserve(0);
|
||||
move_assign_if<pocma>(al(),x.al());
|
||||
swap(arrays,x.arrays);
|
||||
swap(ml,x.ml);
|
||||
swap(size_,x.size_);
|
||||
swap_size_impl(ml,x.ml);
|
||||
swap_size_impl(size_,x.size_);
|
||||
}
|
||||
else{
|
||||
/* noshrink: favor memory reuse over tightness */
|
||||
|
||||
Reference in new issue
Block a user