Exchange the values of the specified a and b objects.
Synopsis
Declared in <bslstl_unorderedmultiset.h>
template<
class KEY,
class HASH,
class EQUAL,
class ALLOCATOR>
void
swap(
unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>& a,
unordered_multiset<KEY, HASH, EQUAL, ALLOCATOR>& b) noexcept(noexcept(a.swap(b)));
Parameters
Name |
Description |
a |
first unordered multiset to swap |
b |
second unordered multiset to swap |
Created with MrDocs