Container‐based version of the <algorithm> std::find_end() function to find the last subsequence within a container.

Synopsis

Declared in <absl/algorithm/container.h>

template<
    typename Sequence1,
    typename Sequence2>
constexpr
/* implementation-defined */
c_find_end(
    Sequence1& sequence,
    Sequence2& subsequence);

Return Value

An iterator to the beginning of the last occurrence of subsequence, or the end iterator if none is found.

Parameters

Name

Description

sequence

The container to search.

subsequence

The subsequence to search for.

Created with MrDocs