This component‐private class defines various types that are used in the implementation of the transform iterator.

Synopsis

Declared in <bdlb_transformiterator.h>

template<
    class FUNCTOR,
    class ITERATOR>
struct TransformIterator_Traits;

Type Aliases

Name

Description

BaseIteratorTraits

Define the iterator traits class of the underlying iterator.

ResultType

Result type of applying the functor to a dereferenced iterator.

difference_type

Type used to represent distances between iterators.

iterator_category

Iterator category of this transform iterator.

pointer

Pointer type derived from the functor result type.

reference

Reference type returned by dereferencing this iterator.

value_type

Value type produced by applying the functor to a dereferenced underlying iterator.

Specializations

Name

Description

TransformIterator_Traits<RESULT(*)(ARGUMENT), ITERATOR>

Traits for a transform iterator whose functor is a function pointer.

TransformIterator_Traits<RESULT(ARGUMENT), ITERATOR>

Traits for a transform iterator whose functor is a function type.

Derived Classes

Name

Description

TransformIterator_Traits<RESULT(ARGUMENT), ITERATOR>

Traits for a transform iterator whose functor is a function type.

TransformIterator_Traits<RESULT(*)(ARGUMENT), ITERATOR>

Traits for a transform iterator whose functor is a function pointer.

Created with MrDocs