Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function swap

boost::interprocess::swap

Synopsis

// In header: <boost/interprocess/allocators/adaptive_pool.hpp>


friend void swap(self_t & alloc1, self_t & alloc2);

Description

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.


PrevUpHomeNext