0.2.0
|
Const iterator. More...
Public Member Functions | |
ConstIterator (const ScrollingBuffer &buffer, size_t index=0) | |
Constructor. | |
reference | operator* () const |
Returns a reference to the current element. | |
const ConstIterator & | operator++ () |
Advances the iterator. | |
ConstIterator | operator++ (int) |
Advances the iterator. | |
pointer | operator-> () |
Returns a pointer to the current element. | |
Const iterator.
|
inlineexplicit |
Constructor.
[in] | buffer | Immutable reference to the buffer of the iterator |
[in] | index | Iterator index inside the buffer (counted from the start) |