4#ifndef TETL_ALGORITHM_STABLE_PARTITION_HPP
5#define TETL_ALGORITHM_STABLE_PARTITION_HPP
7#include <etl/_algorithm/rotate.hpp>
16template <
typename BidirIt,
typename Predicate>
26 auto const m = f + (n / 2);
27 return etl::rotate(
etl::stable_partition(f, m, p), m,
etl::stable_partition(m, l, p));
constexpr auto stable_partition(BidirIt f, BidirIt l, Predicate p) -> BidirIt
Reorders the elements in the range [first, last) in such a way that all elements for which the predic...
Definition stable_partition.hpp:17
Definition adjacent_find.hpp:9