[#BloombergLP-bdlb-TransformIterator-swap]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator]::swap
:relfileprefix: ../../../
:mrdocs:

Efficiently exchange the value of this object with the value of the specified `other` object by applying `swap` to each of the functor and underlying iterator fields of the two objects&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
swap(xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator]& other);
----


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