[#BloombergLP-bdlb-TransformIterator-swap] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator]::swap :relfileprefix: ../../../ :mrdocs: Exchange the value of this object with that of `other`. == Synopsis Declared in `<bdlb_transformiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap(xref:BloombergLP/bdlb/TransformIterator.adoc[TransformIterator]& other); ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *other* | transform iterator to exchange with this object |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#