#pragma once #include "tl/detail/prologue.h" #include "tl/iterator.h" #include namespace tl { ////////////////////////////////////////////////////////////////////////// // find_first_of() // // Container-based version of the `std::find_first_of()` function to // find the first elements in an ordered set within a container. template auto find_first_of(SquenceA& sequence, SequenceB& subsequence) noexcept -> decltype(tl::begin(sequence)); // Overload of find_first_of() for using a predicate evaluation other than `==` as // the function's test condition. template auto find_first_of(SequenceA& sequence, SequenceB& subsequence, BinaryPredicate&& p) noexcept -> decltype(tl::begin(sequence)); ////////////////////////////////////////////////////////////////////////// } // end namespace tl