bsl::swap

Exchange the values of the specified a and b multisets.

Synopsis

Declared in <bslstl_multiset.h>

template<
    class KEY,
    class COMPARATOR,
    class ALLOCATOR>
void
swap(
    multiset<KEY, COMPARATOR, ALLOCATOR>& a,
    multiset<KEY, COMPARATOR, ALLOCATOR>& b) noexcept(noexcept(a.swap(b)));