std::priority_queue::operator=

来自cppreference.com

 
 
 
的std :: priority_queue
成员函数
原文:
Member functions
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里
priority_queue::priority_queue
priority_queue::~priority_queue
priority_queue::operator=
元素的访问
原文:
Element access
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里
priority_queue::top
容量
原文:
Capacity
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里
priority_queue::empty
priority_queue::size
修饰符
原文:
Modifiers
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里
priority_queue::push
priority_queue::emplace
priority_queue::pop
priority_queue::swap
 
priority_queue<T, Container>&
operator=( const priority_queue<T,Container>& other );
(1)
priority_queue<T, Container>&
operator=( priority_queue<T,Container>&& other );
(2) (C++11 起)
替换的内容的容器适配器与那些other.
原文:
Replaces the contents of the container adaptor with those of other.
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里
1)
复制赋值操作者。与other的内容的副本的内容替换。有效地调用c = other.c;(隐式声明)
原文:
Copy assignment operator. Replaces the contents with a copy of the contents of other. Effectively calls c = other.c;. (隐式声明)
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里
2)
将赋值运算符。的other使用移动语义的内容替换。有效地调用c = std::move(other.c);(隐式声明)
原文:
Move assignment operator. Replaces the contents with those of other using move semantics. Effectively calls c = std::move(other.c); (隐式声明)
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里

目录

[编辑] 参数

other -
另一个容器适配器被用作源
原文:
another container adaptor to be used as source
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里

[编辑] 返回值

*this

[编辑] 复杂性

等效底层容器{{{1}}}.
原文:
Equivalent to that of {{{1}}} of the underlying container.
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里

[编辑] 另请参阅

构建priority_queue
原文:
constructs the priority_queue
这段文字是通过 Google Translate 自动翻译生成的。
您可以帮助我们检查、纠正翻译中的错误。详情请点击这里

(公共成员函数) [edit]