|
Cpp Utilities 1.2.3
|
Base type for iterators. More...
#include <SequencialMap.hpp>
Public Types | |
| using | iterator_category = std::random_access_iterator_tag |
| using | difference_type = typename SequencialMap::difference_type |
| using | node_type = typename SequencialMap::vector_type::value_type |
| using | value_type = typename SequencialMap::value_type |
| using | pointer = typename std::conditional< constant, const value_type *, value_type * >::type |
| using | reference = typename std::conditional< constant, const value_type &, value_type & >::type |
Public Member Functions | |
| iterator_base ()=default | |
| template<bool OtherConstant> | |
| iterator_base (const iterator_base< OtherConstant > &other) | |
| reference | operator* () const |
| pointer | operator-> () const |
| template<bool OtherConstant> | |
| iterator_base & | operator= (const iterator_base< OtherConstant > &other) |
| template<bool otherConstant> | |
| bool | operator== (const iterator_base< otherConstant > &other) const |
| template<bool otherConstant> | |
| bool | operator!= (const iterator_base< otherConstant > &other) const |
| template<bool otherConstant> | |
| bool | operator< (const iterator_base< otherConstant > &other) const |
| template<bool otherConstant> | |
| bool | operator<= (const iterator_base< otherConstant > &other) const |
| template<bool otherConstant> | |
| bool | operator> (const iterator_base< otherConstant > &other) const |
| template<bool otherConstant> | |
| bool | operator>= (const iterator_base< otherConstant > &other) const |
| iterator_base & | operator++ () |
| iterator_base | operator++ (int) |
| iterator_base & | operator-- () |
| iterator_base | operator-- (int) |
| iterator_base & | operator+= (difference_type j) |
| iterator_base & | operator-= (difference_type j) |
| iterator_base | operator+ (difference_type j) const |
| iterator_base | operator- (difference_type j) const |
| difference_type | operator- (iterator_base j) const |
Protected Member Functions | |
| iterator_base (const node_type *node) | |
Protected Attributes | |
| node_type * | n = nullptr |
Friends | |
| class | SequencialMap |
| struct | iterator_base<!constant > |
| iterator_base | operator+ (difference_type j, iterator_base &it) |
Base type for iterators.
| constant | Whether the iterator is mutable or constant. |
| using Container::SequencialMap< Key, T, Compare, Allocator >::iterator_base< constant >::iterator_category = std::random_access_iterator_tag |
| using Container::SequencialMap< Key, T, Compare, Allocator >::iterator_base< constant >::difference_type = typename SequencialMap::difference_type |
| using Container::SequencialMap< Key, T, Compare, Allocator >::iterator_base< constant >::node_type = typename SequencialMap::vector_type::value_type |
| using Container::SequencialMap< Key, T, Compare, Allocator >::iterator_base< constant >::value_type = typename SequencialMap::value_type |
| using Container::SequencialMap< Key, T, Compare, Allocator >::iterator_base< constant >::pointer = typename std::conditional<constant, const value_type*, value_type*>::type |
| using Container::SequencialMap< Key, T, Compare, Allocator >::iterator_base< constant >::reference = typename std::conditional<constant, const value_type&, value_type&>::type |
|
inlinedefault |
|
inline |
|
inlineexplicitprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
mutableprotected |