[#absl-c_find] = xref:absl.adoc[absl]::c_find :relfileprefix: ../ :mrdocs: Container‐based version of the <algorithm> `std::find()` function to find the first element containing the passed value within a container value. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename C, typename T> constexpr /* implementation-defined */ c_find( C& c, T&& value); ---- == Return Value An iterator to the first matching element, or the end iterator if none is found. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container to search. | *value* | The value to search for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#