[#absl-c_find_end-07] = xref:absl.adoc[absl]::c_find_end :relfileprefix: ../ :mrdocs: `c_find_end` overloads == Synopses Declared in `<absl/algorithm/container.h>` Container‐based version of the <algorithm> `std::find_end()` function to find the last subsequence within a container. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Sequence1, typename Sequence2> constexpr /* implementation-defined */ xref:absl/c_find_end-0d.adoc[c_find_end]( Sequence1& sequence, Sequence2& subsequence); ---- [.small]#xref:absl/c_find_end-0d.adoc[_» more..._]# Overload of `c_find_end()` for using a predicate evaluation other than `==` as the function's test condition. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Sequence1, typename Sequence2, typename BinaryPredicate> constexpr /* implementation-defined */ xref:absl/c_find_end-06.adoc[c_find_end]( Sequence1& sequence, Sequence2& subsequence, BinaryPredicate&& pred); ---- [.small]#xref:absl/c_find_end-06.adoc[_» more..._]# == Return Value An iterator to the beginning of the last 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]#