Euphoria
insertionsort.h File Reference
#include <cstddef>

Go to the source code of this file.

Namespaces

 eu
 
 eu::core
 

Functions

template<typename T , typename TSortFunc >
void eu::core::do_inplace_insertion_sort (std::vector< T > *pointer_to_array, TSortFunc sort_func)
 
template<typename T , typename TSortFunc >
std::vector< T > eu::core::get_insertion_sorted (const std::vector< T > &array, TSortFunc sort_func)
 
template<typename T >
int eu::core::default_compare_for_insertion_sort (const T &lhs, const T &rhs)
 
template<typename T >
std::vector< T > eu::core::get_insertion_sorted (const std::vector< T > &array)