C++ Actor Framework 1.0.0
|
A simple ring buffer implementation. More...
#include <ring_buffer.hpp>
Public Member Functions | |
ring_buffer (size_t max_size) | |
ring_buffer (ring_buffer &&other) noexcept=default | |
ring_buffer & | operator= (ring_buffer &&other) noexcept=default |
ring_buffer (const ring_buffer &other) | |
ring_buffer & | operator= (const ring_buffer &other) |
T & | front () |
void | pop_front () |
void | push_back (const T &x) |
bool | full () const noexcept |
bool | empty () const noexcept |
size_t | size () const noexcept |
Friends | |
void | swap (ring_buffer &first, ring_buffer &second) noexcept |
A simple ring buffer implementation.