|
ADS
Algorithms and Data Structures
|
the member first of what the iterator I reads, with the category of I up to bidirectional More...
#include <ADS/Iterators.h>
Public types | |
| using | reference |
| a constant reference to a key | |
| using | value_type = std::remove_cvref_t< reference > |
| the keys | |
| using | difference_type = std::iter_difference_t< I > |
| the distances, those of I | |
| using | iterator_concept |
| bidirectional if I is, forward otherwise | |
| using | iterator_category = iterator_concept |
| as iterator_concept | |
Public member functions | |
| KeyIterator (void)=default | |
| an iterator on nothing | |
| KeyIterator (I i) | |
| on the key of what i reads | |
| reference | operator* (void) const |
| the key | |
| const value_type * | operator-> (void) const |
| the address of the key | |
| KeyIterator & | operator++ (void) |
| to the next key | |
| KeyIterator | operator++ (int) |
| to the next key, returning the iterator before the step | |
| KeyIterator & | operator-- (void) |
| to the previous key | |
| KeyIterator | operator-- (int) |
| to the previous key, returning the iterator before the step | |
| bool | operator== (const KeyIterator &o) const =default |
| equal when the iterators on the pairs are | |
the member first of what the iterator I reads, with the category of I up to bidirectional
| using ADS::KeyIterator< I >::difference_type = std::iter_difference_t< I > |
the distances, those of I
| using ADS::KeyIterator< I >::iterator_category = iterator_concept |
| using ADS::KeyIterator< I >::iterator_concept |
bidirectional if I is, forward otherwise
| using ADS::KeyIterator< I >::reference |
a constant reference to a key
| using ADS::KeyIterator< I >::value_type = std::remove_cvref_t< reference > |
the keys
|
default |
an iterator on nothing
|
inlineexplicit |
on the key of what i reads
|
inline |
the key
|
inline |
to the next key, returning the iterator before the step
|
inline |
to the next key
|
inline |
to the previous key, returning the iterator before the step
|
inline |
to the previous key
|
inline |
the address of the key
|
default |
equal when the iterators on the pairs are