|  | Home | Libraries | People | FAQ | More | 
boost::swap — Swap the contents of two circular_buffers. 
// In header: <boost/circular_buffer/base.hpp> template<typename T, typename Alloc> void swap(circular_buffer< T, Alloc > & lhs, circular_buffer< T, Alloc > & rhs);
Complexity. Constant (in the size of the circular_buffer
Iterator Invalidation. Invalidates all iterators of both circular_buffer
See Also:
swap(circular_buffer<T, Alloc>&) 
| Parameters: | 
 | ||||
| Postconditions: | 
 | ||||
| Throws: | Nothing. |