Template Struct sort_list

Struct Documentation

template<Order Ord, typename List>
struct sort_list

Primary template for sorting an HTList.

The resulting type is exposed as sort_list<...>::type, an HTList<...> in the requested order. Internally uses a partition + recursion scheme.

Template Parameters:
  • Ord – Sort order (ascending or descending).

  • List – A detail::HTList<...> whose elements satisfy HasStaticSize.