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

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename InputIt1, typename InputIt2>
constexpr auto includes (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2) -> bool
 
template<typename InputIt1, typename InputIt2, typename Compare>
constexpr auto includes (InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, Compare comp) -> bool
 Returns true if the sorted range [first2, last2) is a subsequence of the sorted range [first1, last1). Both ranges must be sorted.