Overload of c_equal_range() for performing a comp comparison other than the default operator<.
Synopsis
Declared in <absl/algorithm/container.h>
template<
typename Sequence,
typename T,
typename LessThan>
constexpr
/* implementation-defined */
c_equal_range(
Sequence& sequence,
T const& value,
LessThan&& comp);
Return Value
A pair of iterators bounding the range of elements equivalent to value under comp.
Parameters
Name |
Description |
sequence |
The sorted container to search. |
value |
The value to compare against. |
comp |
The comparison used to order the elements. |
Created with MrDocs