[#BloombergLP-bdlc-FlatHashSet-swap] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet]::swap :relfileprefix: ../../../ :mrdocs: Exchange the value of this object as well as its hasher and equality functors with those of the specified `other` object. The behavior is undefined unless this object was created with the same allocator as `other`. == Synopsis Declared in `<bdlc_flathashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap(xref:BloombergLP/bdlc/FlatHashSet.adoc[FlatHashSet]& other); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#