[#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))); ---- == Parameters [cols="1,4"] |=== | Name| Description | *a* | first multiset to exchange | *b* | second multiset to exchange |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#