13 #ifndef TINYMPL_SORT_HPP
14 #define TINYMPL_SORT_HPP
16 #include <tinympl/variadic/sort.hpp>
17 #include <tinympl/as_sequence.hpp>
18 #include <tinympl/sequence.hpp>
19 #include <tinympl/less.hpp>
38 template<
class Sequence,
39 template<
class ...>
class Out = as_sequence<Sequence>::template rebind,
40 template<
class ... >
class Cmp = less>
41 struct sort :
sort<as_sequence_t<Sequence>, Out, Cmp> {};
43 template<
template<
class ... >
class Cmp,
44 template<class ...> class Out,
50 #endif // TINYMPL_SORT_HPP
Sort the input sequence according to a given comparison function.
Definition: sort.hpp:41
Sort the input sequence according to a given comparison function.
Definition: sort.hpp:40
The main sequence type.
Definition: sequence.hpp:28