kblib 0.2.3
General utilities library for modern C++
|
#include <kblib/iterators.h>
Public Types | |
using | nested_value = copy_const_t< decltype(*std::declval< It & >()), typename std::iterator_traits< It >::value_type > |
using | value_type = enumeration< nested_value > |
using | difference_type = std::ptrdiff_t |
using | pointer = const value_type * |
using | reference = const value_type & |
using | iterator_category = std::input_iterator_tag |
Public Member Functions | |
enumerator_iterator ()=default | |
enumerator_iterator (const enumerator_iterator &other) | |
enumerator_iterator (It it) | |
enumerator_iterator (enumerator_iterator &&)=default | |
auto | operator= (const enumerator_iterator &) -> enumerator_iterator &=default |
auto | operator= (enumerator_iterator &&) -> enumerator_iterator &=default |
~enumerator_iterator ()=default | |
auto | operator* () &-> volatile value_type & |
auto | operator++ () &-> enumerator_iterator & |
Friends | |
auto | operator== (const enumerator_iterator &lhs, const enumerator_iterator &rhs) noexcept -> bool |
auto | operator!= (const enumerator_iterator &lhs, const enumerator_iterator &rhs) noexcept -> bool |
Definition at line 865 of file iterators.h.
using kblib::enumerator_iterator< It >::difference_type = std::ptrdiff_t |
Definition at line 872 of file iterators.h.
using kblib::enumerator_iterator< It >::iterator_category = std::input_iterator_tag |
Definition at line 875 of file iterators.h.
using kblib::enumerator_iterator< It >::nested_value = copy_const_t<decltype(*std::declval<It&>()), typename std::iterator_traits<It>::value_type> |
Definition at line 867 of file iterators.h.
using kblib::enumerator_iterator< It >::pointer = const value_type* |
Definition at line 873 of file iterators.h.
using kblib::enumerator_iterator< It >::reference = const value_type& |
Definition at line 874 of file iterators.h.
using kblib::enumerator_iterator< It >::value_type = enumeration<nested_value> |
Definition at line 871 of file iterators.h.
|
default |
|
inline |
Definition at line 878 of file iterators.h.
|
inline |
Definition at line 881 of file iterators.h.
|
default |
|
default |
|
inline |
Definition at line 890 of file iterators.h.
|
inline |
Definition at line 897 of file iterators.h.
|
default |
|
default |
|
friend |
Definition at line 908 of file iterators.h.
|
friend |
Definition at line 904 of file iterators.h.