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