3#ifndef TETL_ALGORITHM_STABLE_SORT_HPP
4#define TETL_ALGORITHM_STABLE_SORT_HPP
19template <
typename RandomIt,
typename Compare>
20constexpr auto stable_sort(RandomIt first, RandomIt last, Compare comp) ->
void
25template <
typename RandomIt>
26constexpr auto stable_sort(RandomIt first, RandomIt last) ->
void
constexpr auto insertion_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 insertion_sort.hpp:19
constexpr auto stable_sort(RandomIt first, RandomIt last, Compare comp) -> void
Sorts the elements in the range [first, last) in non-descending order. The order of equivalent elemen...
Definition stable_sort.hpp:20
Definition adjacent_find.hpp:8
Function object for performing comparisons. Unless specialised, invokes operator< on type T....
Definition less.hpp:14