BloombergLP::bdlb::TransformIterator_AllocatorOfFunctorMethod

The TransformIterator_AllocatorOfFunctorMethod class template has an allocator method when its boolean template parameter is true, which will be made to be the case when the iterator of the transform iterator does not use allocators and the functor of the transform iterator uses allocators. The transform iterator type itself is supplied as BASE_TYPE.

Synopsis

Declared in <bdlb_transformiterator.h>

template<
    class BASE_TYPE,
    bool>
struct TransformIterator_AllocatorOfFunctorMethod;

Specializations

Name
TransformIterator_AllocatorOfFunctorMethod<BASE_TYPE, true>

Derived Classes

NameDescription
TransformIterator The transform iterator class itself. Its job is to hold a functor and an iterator, pass through all iterator-related operations to the held iterator, and on dereference, call the functor on the result of dereferencing the iterator and return the result of the call instead.