Efficiently exchange the nodes of the specified a object with those of the specified b object. This method provides the no‐throw exception‐safety guarantee. The behavior is undefined unless a.allocator() == b.allocator().

Synopsis

Declared in <bslstl_bidirectionalnodepool.h>

template<
    class VALUE,
    class ALLOCATOR>
void
swap(
    BidirectionalNodePool<VALUE, ALLOCATOR>& a,
    BidirectionalNodePool<VALUE, ALLOCATOR>& b);

Created with MrDocs