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

Function Count

util/generic/algorithm.h:631–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629
630template <class T, class V>
631constexpr typename std::iterator_traits<T>::difference_type Count(T first, T last, const V& value) {
632 return std::count(first, last, value);
633}
634
635template <class TContainer, class TValue>
636constexpr auto Count(const TContainer& container, const TValue& value) {

Callers 1

Y_UNIT_TESTFunction · 0.70

Calls 3

cbeginFunction · 0.70
cendFunction · 0.70
countFunction · 0.50

Tested by

no test coverage detected