3#ifndef TETL_ALGORITHM_SORT_HPP
4#define TETL_ALGORITHM_SORT_HPP
17template <
typename RandomIt,
typename Compare>
18constexpr auto sort(RandomIt first, RandomIt last, Compare comp) ->
void
23template <
typename RandomIt>
24constexpr auto sort(RandomIt first, RandomIt last) ->
void
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
constexpr auto gnome_sort(BidirIt first, BidirIt last, Compare comp) -> void
Sorts the elements in the range [first, last) in non-descending order.
Definition gnome_sort.hpp:17
Definition adjacent_find.hpp:8
Function object for performing comparisons. Unless specialised, invokes operator< on type T....
Definition less.hpp:14