Euphoria
|
multisort.h
Go to the documentation of this file.
Definition: argparse.cc:45
@ ascending
@ descending
std::vector< size_t > get_sorted_indices(const std::vector< T > &data, const SortBuilder< T, TSelf > &builder)
Definition: multisort.h:114
std::vector< std::shared_ptr< Sortable< T > >> SortableList
Definition: multisort.h:36
void do_inplace_quick_sort(std::vector< T > *array, TSortFunc sort_func)
Definition: quicksort.h:55
void do_inplace_insertion_sort(std::vector< T > *pointer_to_array, TSortFunc sort_func)
Definition: insertionsort.h:10
Definition: multisort.h:40
SortAction(TValue T::*m, core::SortStyle s, TSortFunc f)
Definition: multisort.h:45
Definition: multisort.h:75
TSelf & sort(TValue T::*member, SortStyle sort_style=SortStyle::ascending)
Definition: multisort.h:98
TSelf & sort(TValue T::*member, TSortFunc sort_func, SortStyle sort_style=SortStyle::ascending)
Definition: multisort.h:82
Definition: multisort.h:23
Sortable(const Sortable< T > &)=delete
void operator=(Sortable< T > &&)=delete
virtual ~Sortable()=default
Sortable()=default
void operator=(const Sortable< T > &)=delete
virtual int sort(const T &lhs, const T &rhs)=0
Sortable(Sortable< T > &&)=delete