MCPcopy Create free account
hub / github.com/catboost/catboost / EqualRange

Function EqualRange

util/generic/algorithm.h:702–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

700
701template <class It, class Val>
702constexpr std::pair<It, It> EqualRange(It begin, It end, const Val& val) {
703 return std::equal_range(begin, end, val);
704}
705
706template <class It, class Val, class Comp>
707constexpr std::pair<It, It> EqualRange(It begin, It end, const Val& val, Comp comp) {

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls 1

equal_rangeFunction · 0.50

Tested by

no test coverage detected