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 |
Public Types inherited from llvm::iterator_adaptor_base< DerivedT, ItTy, std::iterator_traits< ItTy >::iterator_category, std::remove_reference_t< ReferenceTy >, std::iterator_traits< ItTy >::difference_type, std::remove_reference_t< ReferenceTy > *, ReferenceTy > | |
using | difference_type = std::iterator_traits< ItTy >::difference_type |
Public Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT > | |
using | iterator_category = IteratorCategoryT |
using | value_type = T |
using | difference_type = DifferenceTypeT |
using | pointer = PointerT |
using | reference = ReferenceT |
Additional Inherited Members | |
Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT > | |
enum | { IsRandomAccess , IsBidirectional } |
Protected Member Functions inherited from llvm::iterator_adaptor_base< DerivedT, ItTy, std::iterator_traits< ItTy >::iterator_category, std::remove_reference_t< ReferenceTy >, std::iterator_traits< ItTy >::difference_type, std::remove_reference_t< ReferenceTy > *, ReferenceTy > | |
iterator_adaptor_base ()=default | |
iterator_adaptor_base (ItTy u) | |
const ItTy & | wrapped () const |
Protected Attributes inherited from llvm::iterator_adaptor_base< DerivedT, ItTy, std::iterator_traits< ItTy >::iterator_category, std::remove_reference_t< ReferenceTy >, std::iterator_traits< ItTy >::difference_type, std::remove_reference_t< ReferenceTy > *, ReferenceTy > | |
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.