4#ifndef TETL_ALGORITHM_IS_PARTITIONED_HPP
5#define TETL_ALGORITHM_IS_PARTITIONED_HPP
16template <
typename InputIt,
typename Predicate>
17[[nodiscard]]
constexpr auto is_partitioned(InputIt first, InputIt last, Predicate p) ->
bool
19 for (; first != last; ++first) {
25 for (; first != last; ++first) {
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 al...
Definition is_partitioned.hpp:17
Definition adjacent_find.hpp:9