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

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

template<typename InputIt, typename Predicate>
constexpr auto is_partitioned (InputIt first, InputIt last, Predicate p) -> bool
 Returns true if all elements in the range [first, last) that satisfy the predicate p appear before all elements that don't. Also returns true if the range is empty.