Synopsis
Declared in <bdlb_transformiterator.h>
template<
class RESULT,
class ARGUMENT,
class ITERATOR>
struct TransformIterator_Traits<RESULT(ARGUMENT), ITERATOR>
: TransformIterator_Traits<bsl::function<RESULT(ARGUMENT)>, ITERATOR>
Base Classes
Name |
Description |
|
This component‐private class defines various types that are used in the implementation of the transform iterator. |
Type Aliases
Name |
Description |
Define the iterator traits class of the underlying iterator. |
|
Define the result type returned by the functor. This is not necessarily the same type as the dereference of the iterator. In C++11, the result type can be determined automatically. Note that various iterations of the language standard might want to instead use |
|
Type used to represent distances between iterators. |
|
Define the iterator category of the transform iterator. If the functor returns a reference type, we pass through the iterator category of the underlying iterator, otherwise we use the input iterator tag (because all the other tags require that dereferencing produces a reference). |
|
Define the remaining standard types of the transform iterator. |
|
Value type produced by applying the functor to a dereferenced underlying iterator. |
Created with MrDocs