ΒΆtemplate <typename R, typename E>
auto count(R&& Range, const E& Element)
template <typename R, typename E>
auto count(R&& Range, const E& Element)
Description
Wrapper function around std::count to count the number of times an element\p Element occurs in the given range \p Range.
Declared at: llvm/include/llvm/ADT/STLExtras.h:1709
Templates
- R
- E
Parameters
- R&& Range
- const E& Element