operator==,!=,<,<=,>,>=(std::queue)
来自cppreference.com
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
检查到模板循环:Template:include page
template< > bool operator==( queue<>& lhs, |
(1) | |
template< > bool operator!=( queue<>& lhs, |
(2) | |
template< > bool operator<( queue<>& lhs, |
(3) | |
template< > bool operator<=( queue<>& lhs, |
(4) | |
template< > bool operator>( queue<>& lhs, |
(5) | |
template< > bool operator>=( queue<>& lhs, |
(6) | |
Compares the contents of the underlying containers of two container adaptors. The comparison is done by applying the corresponding operator to the underlying containers.
[编辑] 参数
lhs, rhs | - | container adaptors whose contents to compare |
[编辑] 返回值
true if the corresponding comparison yields true, false otherwise.
[编辑] 复杂性
线性大小的容器