Implementation of std::iterator_traits
for this container.
As the name of the class indicates, this iterator satisfies the C++ standard library concept BidirectionalIterator .
TConstOrMutableElement | The custom data type as either const or mutable. |
Public Type Index: | |
using | difference_type = integer |
Implementation of std::iterator_traits . | |
using | iterator_category = std::bidirectional_iterator_tag |
Implementation of std::iterator_traits . | |
using | pointer = TConstOrMutableElement* |
Implementation of std::iterator_traits . | |
using | reference = TConstOrMutableElement& |
Implementation of std::iterator_traits . | |
using | value_type = TConstOrMutableElement |
Implementation of std::iterator_traits . | |
Public Method Index: | |
TIterator ()=default | |
Default constructor creating an invalid iterator. | |
template<typename TMutable> requires std::same_as<TMutable, TIterator<typename std::remove_const<TConstOrMutableElement>::type>> | |
TIterator (const TMutable &mutableIt) | |
TIterator (Element *start) | |
bool | operator!= (TIterator other) const |
TConstOrMutableElement & | operator* () const |
TIterator & | operator++ () |
TIterator | operator++ (int) |
TIterator & | operator-- () |
TIterator | operator-- (int) |
TConstOrMutableElement * | operator-> () const |
bool | operator== (TIterator other) const |
Protected Field Index: | |
Element * | element |
The actual element of the list. | |
using alib::containers::List< TAllocator, T, TRecycling >::TIterator< TConstOrMutableElement >::difference_type = integer |
using alib::containers::List< TAllocator, T, TRecycling >::TIterator< TConstOrMutableElement >::iterator_category = std::bidirectional_iterator_tag |
using alib::containers::List< TAllocator, T, TRecycling >::TIterator< TConstOrMutableElement >::pointer = TConstOrMutableElement* |
using alib::containers::List< TAllocator, T, TRecycling >::TIterator< TConstOrMutableElement >::reference = TConstOrMutableElement& |
using alib::containers::List< TAllocator, T, TRecycling >::TIterator< TConstOrMutableElement >::value_type = TConstOrMutableElement |
|
protected |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |