boost::interprocess::swap
// In header: <boost/interprocess/allocators/adaptive_pool.hpp> friend void swap(self_t & alloc1, self_t & alloc2);
Swaps allocators. Does not throw. If each allocator is placed in a different memory segment, the result is undefined.
Swaps allocators. Does not throw. If each allocator is placed in a different shared memory segments, the result is undefined.