|
Jlm
|
#include <IteratorWrapper.hpp>
Public Types | |
| using | difference_type = std::ptrdiff_t |
| using | value_type = T |
| using | pointer = T * |
| using | reference = T & |
| using | iterator_category = std::forward_iterator_tag |
Public Member Functions | |
| IteratorWrapper (BaseIterator it) | |
| IteratorWrapper & | operator++ () noexcept |
| IteratorWrapper | operator++ (int) noexcept |
| bool | operator== (const IteratorWrapper &other) const noexcept |
| bool | operator!= (const IteratorWrapper &other) const noexcept |
| reference | operator* () const noexcept |
| pointer | operator-> () const noexcept |
Private Attributes | |
| BaseIterator | Iterator_ |
Helper class for providing iterators over lists of wrapper types, like (smart)pointers and maps. To get a const interator, let T be a const type. This iterator should not be used if any element in the collection may be a null pointer.
| T | the underlying type. |
| BaseIterator | the type of the base iterator, can always be a const iterator. |
| DereferenceFunc | a Functor for converting a BaseIterator to a T& |
Definition at line 79 of file IteratorWrapper.hpp.
| using jlm::util::IteratorWrapper< T, BaseIterator, DereferenceFunc >::difference_type = std::ptrdiff_t |
Definition at line 82 of file IteratorWrapper.hpp.
| using jlm::util::IteratorWrapper< T, BaseIterator, DereferenceFunc >::iterator_category = std::forward_iterator_tag |
Definition at line 86 of file IteratorWrapper.hpp.
| using jlm::util::IteratorWrapper< T, BaseIterator, DereferenceFunc >::pointer = T * |
Definition at line 84 of file IteratorWrapper.hpp.
| using jlm::util::IteratorWrapper< T, BaseIterator, DereferenceFunc >::reference = T & |
Definition at line 85 of file IteratorWrapper.hpp.
| using jlm::util::IteratorWrapper< T, BaseIterator, DereferenceFunc >::value_type = T |
Definition at line 83 of file IteratorWrapper.hpp.
|
inlineexplicit |
Definition at line 88 of file IteratorWrapper.hpp.
|
inlinenoexcept |
Definition at line 114 of file IteratorWrapper.hpp.
|
inlinenoexcept |
Definition at line 120 of file IteratorWrapper.hpp.
|
inlinenoexcept |
Definition at line 93 of file IteratorWrapper.hpp.
|
inlinenoexcept |
Definition at line 100 of file IteratorWrapper.hpp.
|
inlinenoexcept |
Definition at line 126 of file IteratorWrapper.hpp.
|
inlinenoexcept |
Definition at line 108 of file IteratorWrapper.hpp.
|
private |
Definition at line 132 of file IteratorWrapper.hpp.