priority_queue& operator=( const priority_queue& other );
priority_queue& operator=( priority_queue&& other );
Replaces the contents of the container adaptor with those of
other. Effectively calls
c = other.c; comp = other.comp;. (implicitly declared)
otherusing move semantics. Effectively calls
c = std::move(other.c); comp = std::move(other.comp);(implicitly declared)
|other||-||another container adaptor to be used as source|
Equivalent to that of
operator= of the underlying container.
| constructs the
(public member function)
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.