Iterator referencing the wrapped iterable type. More...
#include <eagine/iterator.hpp>
Public Types | |
| using | reference = const T & |
| Alias for reference type. | |
| using | pointer = const T * |
| Alias for pointer type. | |
| using | iterator_category = std::random_access_iterator_tag |
| Iterator caregoty. | |
Public Types inherited from eagine::basic_iterable_type< T, Derived > | |
| using | value_type = T |
| Alias for the value type. | |
| using | difference_type = decltype(std::declval< T >() - std::declval< T >()) |
| Alias for the difference type. | |
Public Member Functions | |
| constexpr auto | operator* () const noexcept -> const T & |
| Dereference operator. | |
Public Member Functions inherited from eagine::basic_iterable_type< T, Derived > | |
| constexpr | basic_iterable_type ()=default |
| Default constructor. | |
| constexpr | basic_iterable_type (T value) noexcept |
| Initializing constructor. | |
| constexpr | operator T () const noexcept |
| Explicit conversion to the wrapped iterable type. | |
| constexpr auto | operator++ () noexcept -> auto & |
| Pre-increment operator. | |
| constexpr auto | operator+= (difference_type d) noexcept -> auto & |
| Addition operator. | |
| constexpr auto | operator++ (int) noexcept -> Derived |
| Post-increment operator. | |
| constexpr auto | operator-- () noexcept -> auto & |
| Pre-decrement operator. | |
| constexpr auto | operator-= (difference_type d) noexcept -> auto & |
| Subtraction operator. | |
| constexpr auto | operator-- (int) noexcept -> Derived |
| Post-decrement operator. | |
Iterator referencing the wrapped iterable type.
| T | the wrapped iterable type. |
| Derived | the type derived from this template. |