![]() |
Zen
A cross-platform functional programming language
|
base of all iterators More...
#include <zbl.hpp>
Public Member Functions | |
| iteratorbase (const iterT &iter) | |
| Default constructor. | |
| bool | begin () const |
| Check if iterator is at the beginning of the list. | |
| bool | end () const |
| Check if iterator is at the end of the list. | |
| bool | operator!= (const iteratorbase &src) const |
| Check if iterator is not equal to another. | |
| bool | operator== (const iteratorbase &src) const |
| Check if iterator is equal to another. | |
| void | toBack () |
| Move iterator to end of list. | |
Protected Attributes | |
| iterT | _iter |
| The iterator instance. | |
base of all iterators
Uses CRTP design.
| iteratorbase | ( | const iterT & | iter | ) | [inline, explicit] |
Default constructor.
| iter | The iterator instance |
| bool begin | ( | ) | const [inline] |
Check if iterator is at the beginning of the list.
| bool end | ( | ) | const [inline] |
Check if iterator is at the end of the list.
| bool operator!= | ( | const iteratorbase< iterT, V > & | src | ) | const [inline] |
Check if iterator is not equal to another.
| src | Iterator to compare to |
| bool operator== | ( | const iteratorbase< iterT, V > & | src | ) | const [inline] |
Check if iterator is equal to another.
| src | Iterator to compare to |