[#BloombergLP-bdlb-TransformIterator_AllocatorOfIteratorMethod-0f-allocator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/TransformIterator_AllocatorOfIteratorMethod-0f.adoc[TransformIterator&lowbar;AllocatorOfIteratorMethod&lt;BASE&lowbar;TYPE, true&gt;]::allocator
:relfileprefix: ../../../
:mrdocs:

Return the allocator used by the underlying iterator&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*
allocator() const;
----

== Description

Return the allocator used by the underlying iterator of the associated transform iterator to supply memory&period; Note that this class must be a base class of the transform iterator&period;

== Return Value

allocator used by the underlying iterator


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