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