Capacity controller of the space optimized circular buffer. More...
#include <details.hpp>
Public Member Functions | |
capacity_control (Size buffer_capacity, Size min_buffer_capacity=0) | |
Constructor. More... | |
Size | capacity () const |
Get the capacity of the space optimized circular buffer. More... | |
Size | min_capacity () const |
Get the minimal capacity of the space optimized circular buffer. More... | |
operator Size () const | |
Size operator - returns the capacity of the space optimized circular buffer. More... | |
Capacity controller of the space optimized circular buffer.
|
inline |
Constructor.
|
inline |
Get the capacity of the space optimized circular buffer.
|
inline |
Get the minimal capacity of the space optimized circular buffer.
|
inline |
Size operator - returns the capacity of the space optimized circular buffer.