c_equal_range overloads
Declared in <absl/algorithm/container.h>
Container-based version of the <algorithm> std::equal_range() function to return an iterator pair pointing to the first and last elements in a sorted container which compare equal to value.
template<
typename Sequence,
typename T>
constexpr
/* implementation-defined */
c_equal_range(
Sequence& sequence,
T const& value);
» more...
Overload of c_equal_range() for performing a comp comparison other than the default operator<.
template<
typename Sequence,
typename T,
typename LessThan>
constexpr
/* implementation-defined */
c_equal_range(
Sequence& sequence,
T const& value,
LessThan&& comp);
» more...
value.value under comp.| Name | Description |
|---|---|
| sequence | The sorted container to search. |
| value | The value to compare against. |
| comp | The comparison used to order the elements. |