tinympl
0.2
mini MPL library for C++11
|
Sort the input sequence according to a given comparison function. More...
#include <tinympl/sort.hpp>
Sort the input sequence according to a given comparison function.
Sequence | the input sequence |
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 |
sort<...>::type
is a type templated from Out
which contains the sorted sequence