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

Function CountOf

util/generic/algorithm.h:217–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216template <typename T, typename... Other>
217constexpr size_t CountOf(const T& x, const Other&... values) {
218 return (0 + ... + static_cast<size_t>(x == values));
219}
220
221template <class I>
222constexpr void PushHeap(I f, I l) {

Callers 1

Y_UNIT_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected