[#absl-c_search-06] = xref:absl.adoc[absl]::c_search :relfileprefix: ../ :mrdocs: Overload of `c_search()` for using a predicate evaluation other than `==` as the function's test condition. == Synopsis Declared in `<absl/algorithm/container.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Sequence1, typename Sequence2, typename BinaryPredicate> constexpr /* implementation-defined */ c_search( Sequence1& sequence, Sequence2& subsequence, BinaryPredicate&& pred); ---- == Return Value An iterator to the beginning of the first occurrence of `subsequence`, or the end iterator if none is found. == Parameters [cols="1,4"] |=== | Name| Description | *sequence* | The container to search. | *subsequence* | The subsequence to search for. | *pred* | The binary predicate used to compare elements. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#