Boost C++ Libraries 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 a snapshot of the develop branch, built from commit 549cd0dc90.

Template Parameters

Table 8.1. Template parameter requirements




The type of the elements stored in the circular_buffer. The T has to be Assignable and CopyConstructible. Moreover T has to be DefaultConstructible if supplied as a default parameter when invoking some of the circular_buffer's methods, e.g. insert(iterator pos, const value_type& item = value_type()). And EqualityComparable and/or LessThanComparable if the circular_buffer will be compared with another container.


The allocator type used for all internal memory management. The Alloc has to meet the allocator requirements imposed by STL.