Efficiently exchange the memory blocks of this object with those of the specified other object. This method provides the no-throw exception-safety guarantee. The behavior is undefined unless allocator() == other.allocator().
other
allocator() == other.allocator()
Declared in <bslstl_simplepool.h>
<bslstl_simplepool.h>
void swap(SimplePool& other);