boost::operator== — 逐个元素比较两个 circular_buffer
以确定它们是否相等。
// In header: <boost/circular_buffer/base.hpp> template<typename T, typename Alloc> bool operator==(const circular_buffer< T, Alloc > & lhs, const circular_buffer< T, Alloc > & rhs);
复杂度:线性(与 circular_buffer
的大小成正比)。
迭代器失效。 不使任何迭代器失效。
参数 |
|
||||
返回 |
|
||||
抛出 |
无。 |