std::priority_queue<T,Container,Compare>::operator=
来自cppreference.com
                    
                                        
                    < cpp | container | priority queue
                    
                                                            
                    |   priority_queue& operator=( const priority_queue& other );  | 
(1) | |
|   priority_queue& operator=( priority_queue&& other );  | 
(2) | (C++11 起) | 
以 other 的内容替换容器适配器的内容。
1) 复制赋值运算符。以 
other 的内容副本替换内容。等效地调用 c = other.c; comp = other.comp; 。(隐式声明)2) 移动赋值运算符。用移动语义以 
other 的内容替换内容。等效地调用 c = std::move(other.c); comp = std::move(other.comp); 。(隐式声明)参数
| other | - | 用作源的另一容器适配器 | 
返回值
*this
复杂度
等价于底层容器 operator= 的复杂度。
参阅
  构造 priority_queue (公开成员函数)  |