[#BloombergLP-bdlb-TransformIterator_AllocatorOfFunctorMethod-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/TransformIterator_AllocatorOfFunctorMethod-01.adoc[TransformIterator&lowbar;AllocatorOfFunctorMethod]&lt;BASE&lowbar;TYPE, true&gt;
:relfileprefix: ../../
:mrdocs:

Base providing `allocator` when only the functor uses allocators&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;transformiterator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class BASE&lowbar;TYPE&gt;
struct xref:BloombergLP/bdlb/TransformIterator_AllocatorOfFunctorMethod-01.adoc[TransformIterator&lowbar;AllocatorOfFunctorMethod]&lt;BASE&lowbar;TYPE, true&gt;;
----

== Description

This specialization is used as a base class of `TransformIterator` when the iterator does not use allocators and the functor does&period; The transform iterator type itself is supplied as `BASE&lowbar;TYPE`&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/TransformIterator_AllocatorOfFunctorMethod-0d/allocator.adoc[`allocator`] 
| Return the allocator used by the transforming functor&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
