Description
find_end() is similar to search(), but searches backwards through a sequence to find a specified subsequence.
Declaration
template <class For, class For2> For find_end(For, For, For2, For2); template <class For, class For2, class BinPred> For find_end(For, For, For2, For2, BinPred);
Concept
The example searches through one sequence of integers in a vector to find another sequence, with a user-defined predicate specified that compares the absolute values of the elements. It finds the last matching subsequence at position 4 in vec1.
Supported
Supported
Supported