Container‐based version of the <algorithm> std::find_first_of() function to find the first element within the container that is also within the options container.
Synopsis
Declared in <absl/algorithm/container.h>
template<
typename C1,
typename C2>
constexpr
/* implementation-defined */
c_find_first_of(
C1& container,
C2 const& options);
Return Value
An iterator to the first element of container also found in options, or the end iterator if none is found.
Parameters
Name |
Description |
container |
The container to search. |
options |
The container of values to search for. |
Created with MrDocs