...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::operator< — Compare two circular_buffer
s element-by-element to determine if the left one is lesser than the right one.
// 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);
Complexity. Linear (in the size of the circular_buffer
s).
Iterator Invalidation. Does not invalidate any iterators.
Parameters: |
|
||||
Returns: |
|
||||
Throws: |
Nothing. |