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>
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
Name |
Description |
c |
The container to search. |
value |
The value to search for. |
Created with MrDocs