[#bsl-hash_map-swap] = xref:bsl.adoc[bsl]::xref:bsl/hash_map.adoc[hash_map]::swap :relfileprefix: ../../ :mrdocs: Exchange the contents of this map with those of the specified map. == Synopsis Declared in `<bslstp_hashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void swap(xref:bsl/hash_map.adoc[_Self]& __hs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#