3#ifndef TETL_ALGORITHM_PARTIAL_SORT_HPP
4#define TETL_ALGORITHM_PARTIAL_SORT_HPP
19template <
typename RandomIt,
typename Compare>
20constexpr auto partial_sort(RandomIt first, RandomIt middle, RandomIt last, Compare comp) ->
void
27template <
typename RandomIt>
28constexpr auto partial_sort(RandomIt first, RandomIt middle, RandomIt last) ->
void
constexpr auto partial_sort(RandomIt first, RandomIt middle, RandomIt last, Compare comp) -> void
Rearranges elements such that the range [first, middle) contains the sorted middle - first smallest e...
Definition partial_sort.hpp:20
constexpr auto sort(RandomIt first, RandomIt last, Compare comp) -> void
Sorts the elements in the range [first, last) in non-descending order. The order of equal elements is...
Definition sort.hpp:18
Definition adjacent_find.hpp:8
constexpr auto ignore_unused(Types &&...) -> void
Explicitly ignore arguments or variables.
Definition ignore_unused.hpp:17