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 an old version of Boost. Click here to view this page for the latest version.

Header Files

The circular buffer library is defined in the file circular_buffer.hpp.

#include <boost/circular_buffer.hpp>

(There is also a forward declaration for the circular_buffer in the header file circular_buffer_fwd.hpp).

The circular_buffer is defined in the file base.hpp.

The circular_buffer_space_optimized is defined in the file space_optimized.hpp.