tinympl
0.2
mini MPL library for C++11
|
Sort the input sequence according to a given comparison function. More...
#include <tinympl/variadic/sort.hpp>
Sort the input sequence according to a given comparison function.
Out | the output sequence type, defaults to the same kind of the input sequence type |
Cmpl | The comparison operator. Cmp<A,B>::type::value must be convertible to bool. The comparator must produce total ordering between elements. Defaults to tinympl::less |
Args... | the input sequence |
sort<...>::type
is a type templated from Out
which contains the sorted sequence