[#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. == Synopsis Declared in `<bdlb_transformiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap(xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator]& other); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#