This is a simple circular buffer so we don't need to "bucket brigade" copy old values.
More...
#include <CircularBuffer.h>
|
| CircularBuffer (size_t size) |
|
void | PushFront (T value) |
|
void | PushBack (T value) |
|
T | PopFront () |
|
T | PopBack () |
|
void | Reset () |
|
T & | operator[] (size_t index) |
|
const T & | operator[] (size_t index) const |
|
template<class T>
class CircularBuffer< T >
This is a simple circular buffer so we don't need to "bucket brigade" copy old values.
The documentation for this class was generated from the following file: