EnTT 3.14.0
|
Function object for performing insertion sort. More...
#include <algorithm.hpp>
Public Member Functions | |
template<typename It , typename Compare = std::less<>> | |
void | operator() (It first, It last, Compare compare=Compare{}) const |
Sorts the elements in a range. | |
Function object for performing insertion sort.
Definition at line 42 of file algorithm.hpp.
|
inline |
Sorts the elements in a range.
Sorts the elements in a range using the given binary comparison function.
It | Type of random access iterator. |
Compare | Type of comparison function object. |
first | An iterator to the first element of the range to sort. |
last | An iterator past the last element of the range to sort. |
compare | A valid comparison function object. |
Definition at line 55 of file algorithm.hpp.