Ticket #2313: multi_index_container_assignment.patch
File multi_index_container_assignment.patch, 623 bytes (added by , 14 years ago) |
---|
-
multi_index_container.hpp
267 267 } 268 268 269 269 multi_index_container<Value,IndexSpecifierList,Allocator>& operator=( 270 const multi_index_container<Value,IndexSpecifierList,Allocator>&x)270 multi_index_container<Value,IndexSpecifierList,Allocator> x) 271 271 { 272 272 BOOST_MULTI_INDEX_CHECK_INVARIANT; 273 multi_index_container<Value,IndexSpecifierList,Allocator> tmp(x); 274 this->swap(tmp); 273 this->swap(x); 275 274 return *this; 276 275 } 277 276