[#BloombergLP-bdlb-TransformIterator_Traits-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/TransformIterator_Traits-0f.adoc[TransformIterator_Traits]<RESULT(ARGUMENT), ITERATOR> :relfileprefix: ../../ :mrdocs: Traits for a transform iterator whose functor is a function type. == Synopsis Declared in `<bdlb_transformiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class RESULT, class ARGUMENT, class ITERATOR> struct xref:BloombergLP/bdlb/TransformIterator_Traits-0f.adoc[TransformIterator_Traits]<RESULT(ARGUMENT), ITERATOR> : xref:BloombergLP/bdlb/TransformIterator_Traits-0f.adoc[TransformIterator_Traits<bsl::function<RESULT(ARGUMENT)>, ITERATOR>] ---- == Description Specialize the transform iterator traits template for functors that are function types. It is sufficient to inherit from the version of the traits class that corresponds to a `bsl::function` of the function type parameter. == Base Classes [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlb/TransformIterator_Traits-0f.adoc[TransformIterator_Traits<bsl::function<RESULT(ARGUMENT)>, ITERATOR>]` | This component‐private class defines various types that are used in the implementation of the transform iterator. |=== == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/TransformIterator_Traits-0f/BaseIteratorTraits.adoc[`BaseIteratorTraits`] | Define the iterator traits class of the underlying iterator. | xref:BloombergLP/bdlb/TransformIterator_Traits-0f/ResultType.adoc[`ResultType`] | Result type of applying the functor to a dereferenced iterator. | xref:BloombergLP/bdlb/TransformIterator_Traits-0f/difference_type.adoc[`difference_type`] | Type used to represent distances between iterators. | xref:BloombergLP/bdlb/TransformIterator_Traits-0f/iterator_category.adoc[`iterator_category`] | Iterator category of this transform iterator. | xref:BloombergLP/bdlb/TransformIterator_Traits-0f/pointer.adoc[`pointer`] | Pointer type derived from the functor result type. | xref:BloombergLP/bdlb/TransformIterator_Traits-0f/reference.adoc[`reference`] | Reference type returned by dereferencing this iterator. | xref:BloombergLP/bdlb/TransformIterator_Traits-0f/value_type.adoc[`value_type`] | Value type produced by applying the functor to a dereferenced underlying iterator. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#