std::unordered_multiset::operator=
From cppreference.com
< cpp | container | unordered multiset
| unordered_multiset& operator=( const unordered_multiset& other ); |
(1) | (since C++11) |
| unordered_multiset& operator=( unordered_multiset&& other ); |
(2) | (since C++11) |
Replaces the contents of the container.
1) Copy assignment operator. Replaces the contents with a copy of the contents of other.
2) Move assignment operator. Replaces the contents with those of other using move semantics.
Contents |
[edit] Parameters
| other | - | another container to be used as source |
[edit] Return value
*this
[edit] Complexity
1) Linear in the size of the container.
2) Constant.
[edit] See also
| constructs the unordered_multiset (public member function) | |