...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Table 6.1. Template parameter requirements
parameter |
Requirements |
---|---|
T |
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. |
Alloc |
The allocator type used for all internal memory management. The Alloc has to meet the allocator requirements imposed by STL. |