[#BloombergLP-bdlc-swap-061] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::swap :relfileprefix: ../../ :mrdocs: Exchange the value, the hasher, and the key‐equality functor of the specified `a` and `b` objects. This function provides the no‐throw exception‐safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise. == Synopsis Declared in `<bdlc_flathashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class VALUE, class HASH, class EQUAL> void swap( xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap<KEY, VALUE, HASH, EQUAL>]& a, xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap<KEY, VALUE, HASH, EQUAL>]& b); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#