LLVM 20.0.0git
|
A base type of mapped iterator, that is useful for building derived iterators that do not need/want to store the map function (as in mapped_iterator). More...
#include "llvm/ADT/STLExtras.h"
Public Types | |
using | BaseT = mapped_iterator_base |
![]() | |
using | difference_type = std::iterator_traits< ItTy >::difference_type |
![]() | |
using | iterator_category = IteratorCategoryT |
using | value_type = T |
using | difference_type = DifferenceTypeT |
using | pointer = PointerT |
using | reference = ReferenceT |
Additional Inherited Members | |
![]() | |
enum | { IsRandomAccess , IsBidirectional } |
![]() | |
iterator_adaptor_base ()=default | |
iterator_adaptor_base (ItTy u) | |
const ItTy & | wrapped () const |
![]() | |
ItTy | I |
A base type of mapped iterator, that is useful for building derived iterators that do not need/want to store the map function (as in mapped_iterator).
These iterators must simply provide a mapElement
method that defines how to map a value of the iterator to the provided reference type.
Definition at line 388 of file STLExtras.h.
using llvm::mapped_iterator_base< DerivedT, ItTy, ReferenceTy >::BaseT = mapped_iterator_base |
Definition at line 396 of file STLExtras.h.
|
inline |
Definition at line 398 of file STLExtras.h.
|
inline |
|
inline |
Definition at line 403 of file STLExtras.h.