[#bsl-swap-03d7] = xref:bsl.adoc[bsl]::swap :relfileprefix: ../ :mrdocs: Exchange the values of the specified `a` and `b` objects. == Synopsis Declared in `<bslstl_unorderedmultiset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class KEY, class HASH, class EQUAL, class ALLOCATOR> void swap( xref:bsl/unordered_multiset-06c.adoc[unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>]& a, xref:bsl/unordered_multiset-06c.adoc[unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>]& b) noexcept(noexcept(a.swap(b))); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#