Container-based version of the <algorithm> std::count() function to count values that match within a container.
Declared in <absl/algorithm/container.h>
template<
typename C,
typename T>
constexpr
/* implementation-defined */
c_count(
C const& c,
T&& value);
The number of elements in c equal to value.
| Name | Description |
|---|---|
| c | The container to search. |
| value | The value to count. |