4#ifndef TETL_ALGORITHM_SORT_HPP
5#define TETL_ALGORITHM_SORT_HPP
7#include <etl/_algorithm/insertion_sort.hpp>
18template <
typename RandomIt,
typename Compare>
19constexpr auto sort(RandomIt first, RandomIt last, Compare comp) ->
void
21 etl::insertion_sort(first, last, comp);
24template <
typename RandomIt>
25constexpr auto sort(RandomIt first, RandomIt last) ->
void
constexpr auto sort(RandomIt first, RandomIt last) -> void
Definition sort.hpp:25
constexpr auto sort(RandomIt first, RandomIt last, Compare comp) -> void
Definition sort.hpp:19
Definition adjacent_find.hpp:9
Function object for performing comparisons. Unless specialised, invokes operator< on type T....
Definition less.hpp:15