| Home | Libraries | People | FAQ | More

## 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.