#include <CTBsortI.hxx>
Public Methods | |
void | operator() (CTBvector< T > &v) |
void | operator() (CTBvector< CTBint > &ind, const CTBvector< T > &v) |
This class provides a function object for sorting a vector of type T
to ascending order with a comparison operator C
. A simple straight insertion sort algorithm is used.
Definition at line 19 of file CTBsortI.hxx.
|
Sort vector v to ascending order of operator
Definition at line 28 of file CTBsortI.icc. |
|
Produce index ind such that v[ind[..]] is sorted by operator
Definition at line 52 of file CTBsortI.icc. |