...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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.