![]() |
Zen
A cross-platform functional programming language
|
Buffer iterator. More...
#include <zbl.hpp>
Public Member Functions | |
| iterator (const buffer &buf) | |
| Default constructor. | |
| iterator & | operator++ () |
| Increment iterator. | |
| int | operator* () |
| Return reference to current value. | |
| bool | end () |
| Check if iterator is at the end of the list. | |
Private Attributes | |
| const buffer & | _buf |
| The buffer being iterated. | |
| int | _pos |
| The current position. | |
Buffer iterator.
| bool end | ( | ) | [inline] |
Check if iterator is at the end of the list.
| int operator* | ( | ) | [inline] |
Return reference to current value.
| iterator& operator++ | ( | ) | [inline] |
Increment iterator.