LLVM 22.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"
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 376 of file STLExtras.h.
using llvm::mapped_iterator_base< DerivedT, ItTy, ReferenceTy >::BaseT = mapped_iterator_base |
Definition at line 384 of file STLExtras.h.
|
inline |
Definition at line 386 of file STLExtras.h.
References 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(), mapped_iterator_base(), and llvm::move().
Referenced by mapped_iterator_base().
|
inline |
Definition at line 389 of file STLExtras.h.
|
inline |
Definition at line 391 of file STLExtras.h.