std::priority_queue<T,Container,Compare>::operator=

Replaces the contents of the container adaptor with the contents of given argument.

# Declarations

priority_queue& operator=( const priority_queue& other );

(implicitly declared)

priority_queue& operator=( priority_queue&& other );

(since C++11) (implicitly declared)

# Parameters

# Return value

*this

# Example

This section is incompleteReason: no example

# See also