Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
640
template <class It, class P>
641
constexpr auto CountIf(It first, It last, P p) {
642
return std::count_if(first, last, p);
643
}
644
645
template <class C, class P>
646
constexpr auto CountIf(const C& c, P pred) {
Callers
1
Y_UNIT_TEST
Function · 0.70
Calls
2
begin
Function · 0.70
end
Function · 0.70
Tested by
no test coverage detected