Contains the insertion_sort() functions. More...
#include "../defs.h"
#include <iterator>
#include "insertion_sort.ipp"
Go to the source code of this file.
Functions | |
template<typename RandomAccessIterator > | |
void | insertion_sort (RandomAccessIterator first, RandomAccessIterator last) |
Insertion sort. | |
template<typename RandomAccessIterator , typename Compare > | |
void | insertion_sort (RandomAccessIterator first, RandomAccessIterator last, Compare comp) |
Insertion sort with a comparison function. |
Contains the insertion_sort() functions.