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

Function NthElement

util/generic/algorithm.h:663–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661
662template <class RandomIterator>
663constexpr void NthElement(RandomIterator begin, RandomIterator nth, RandomIterator end) {
664 std::nth_element(begin, nth, end);
665}
666
667template <class RandomIterator, class Compare>
668constexpr void NthElement(RandomIterator begin, RandomIterator nth, RandomIterator end, Compare compare) {

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls 1

nth_elementFunction · 0.50

Tested by

no test coverage detected