[#absl-c_count] = xref:absl.adoc[absl]::c_count :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::count()` function to count values that match within a container. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename T> constexpr /* implementation-defined */ c_count( C const& c, T&& value); ---- == Return Value The number of elements in `c` equal to `value`. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container to search. | *value* | The value to count. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#