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