class mapped_iterator_base

Declaration

template <typename DerivedT, typename ItTy, typename ReferenceTy>
class mapped_iterator_base { /* full declaration omitted */ };

Description

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.

Declared at: llvm/include/llvm/ADT/STLExtras.h:337

Templates

DerivedT
ItTy
ReferenceTy

Method Overview

Methods

ItTy getCurrent()

Declared at: llvm/include/llvm/ADT/STLExtras.h:350

mapped_iterator_base<DerivedT, ItTy, ReferenceTy>(
    ItTy U)

Declared at: llvm/include/llvm/ADT/STLExtras.h:347

Parameters

ItTy U