[#BloombergLP-bdlc-swap-0b6] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::swap :relfileprefix: ../../ :mrdocs: Exchange the values 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_flathashtable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class ENTRY, class ENTRY_UTIL, class HASH, class EQUAL> void swap( xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL>]& a, xref:BloombergLP/bdlc/FlatHashTable.adoc[FlatHashTable<KEY, ENTRY, ENTRY_UTIL, HASH, EQUAL>]& b); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#