4#ifndef TETL_ALGORITHM_STABLE_SORT_HPP
5#define TETL_ALGORITHM_STABLE_SORT_HPP
7#include <etl/_algorithm/insertion_sort.hpp>
8#include <etl/_functional/less.hpp>
20template <
typename RandomIt,
typename Compare>
21constexpr auto stable_sort(RandomIt first, RandomIt last, Compare comp) ->
void
23 etl::insertion_sort(first, last, comp);
26template <
typename RandomIt>
27constexpr auto stable_sort(RandomIt first, RandomIt last) ->
void
constexpr auto stable_sort(RandomIt first, RandomIt last, Compare comp) -> void
Definition stable_sort.hpp:21
constexpr auto stable_sort(RandomIt first, RandomIt last) -> void
Definition stable_sort.hpp:27
Definition adjacent_find.hpp:9
Function object for performing comparisons. Unless specialised, invokes operator< on type T....
Definition less.hpp:15