std::unordered_multimap::operator=
From cppreference.com
< cpp | container | unordered multimap
| unordered_multimap& operator=( const unordered_multimap& other ); |
(1) | (since C++11) |
| unordered_multimap& operator=( unordered_multimap&& 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_multimap (public member function) | |