tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
find_end.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename ForwardIt1, typename ForwardIt2>
constexpr auto find_end (ForwardIt1 first, ForwardIt1 last, ForwardIt2 sFirst, ForwardIt2 sLast) -> ForwardIt1
 
template<typename ForwardIt1, typename ForwardIt2, typename Predicate>
constexpr auto find_end (ForwardIt1 first, ForwardIt1 last, ForwardIt2 sFirst, ForwardIt2 sLast, Predicate p) -> ForwardIt1
 Searches for the last occurrence of the sequence [sFirst, sLast) in the range [first, last). Elements are compared using the given binary predicate p.