[#BloombergLP-bdlb-TransformIterator-2constructor-026]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator]::TransformIterator
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a transform iterator with a default iterator and functor&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/TransformIterator/2constructor-0d0.adoc[TransformIterator]();
----

[.small]#xref:BloombergLP/bdlb/TransformIterator/2constructor-0d0.adoc[_» more&period;&period;&period;_]#

Create a transform iterator with a default iterator and functor&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlb/TransformIterator/2constructor-02f.adoc[TransformIterator](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator);
----

[.small]#xref:BloombergLP/bdlb/TransformIterator/2constructor-02f.adoc[_» more&period;&period;&period;_]#

Create a transform iterator having the same value as `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/TransformIterator/2constructor-07.adoc[TransformIterator](
    xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlb/TransformIterator/2constructor-07.adoc[_» more&period;&period;&period;_]#

Create a transform iterator from the specified iterator and functor&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/TransformIterator/2constructor-0d7.adoc[TransformIterator](
    ITERATOR const& iterator,
    FUNCTOR functor,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlb/TransformIterator/2constructor-0d7.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| allocator used to supply memory
| *original*
| transform iterator to copy
| *iterator*
| underlying iterator to hold
| *functor*
| transforming functor to apply on dereference
|===


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