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

Function CountIf

util/generic/algorithm.h:641–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639
640template <class It, class P>
641constexpr auto CountIf(It first, It last, P p) {
642 return std::count_if(first, last, p);
643}
644
645template <class C, class P>
646constexpr auto CountIf(const C& c, P pred) {

Callers 1

Y_UNIT_TESTFunction · 0.70

Calls 2

beginFunction · 0.70
endFunction · 0.70

Tested by

no test coverage detected