Type erasure for forward iterators. More...
#include <eagine/any_iterator.hpp>
Public Types | |
| using | value_type = VT |
| Alias for value type. | |
| using | reference = RT |
| Alias for reference type. | |
| using | pointer = PT |
| Alias for pointer type. | |
| using | difference_type = DT |
| Alias fro difference type. | |
| using | iterator_category = std::forward_iterator_tag |
| Iterator category. | |
Public Member Functions | |
| reference | operator* () const |
| Dereference operator. | |
| any_forward_iterator & | operator++ () |
| Pre-increment. | |
| const any_forward_iterator | operator++ (int) |
| Post-increment. | |
Friends | |
| bool | operator== (const any_forward_iterator &a, const any_forward_iterator &b) |
| Equality comparison. | |
| bool | operator!= (const any_forward_iterator &a, const any_forward_iterator &b) |
| Non-equality comparison. | |
Type erasure for forward iterators.