std::unordered_multiset::swap

From Cppreference

Jump to: navigation, search
void swap( unordered_multiset& other );
(C++11 feature)

Exchanges the contents of the container with those of other. All iterators and references remain valid.

Contents

[edit] Parameters

other - container to exchange the contents with

[edit] Return value

(none)

[edit] Exceptions

noexcept specification:  
noexcept

  (C++11 feature)

[edit] Complexity

Constant

[edit] See also

std::swap(std::unordered_multiset)
specializes the std::swap() algorithm
(function template)