|
MyraMath
|
Insertion sort for a contiguous range of T's. More...
#include <cstddef>Go to the source code of this file.
Functions | |
| template<class T > | |
| void | myra::insertion_sort (T *begin, T *end) |
| Sorts the T's within the range [begin,end). Note T must be assignable. | |
| template<class T > | |
| void | myra::insertion_sort (T *begin, size_t N) |
| Sorts the T's within the range [begin,begin+N). Note T must be assignable. | |
| template<class T , class Comparator > | |
| void | myra::insertion_sort (T *begin, T *end, const Comparator &cmp) |
| Performs insertion_sort() using a custom Comparator. | |
| template<class T , class Comparator > | |
| void | myra::insertion_sort (T *begin, size_t N, const Comparator &cmp) |
| Performs insertion_sort() using a custom Comparator. | |
Insertion sort for a contiguous range of T's.
1.8.13