#include <CTBsortS.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 Shell sort algorithm is used.
Definition at line 19 of file CTBsortS.hxx.
|
Sort vector v to ascending order of operator
Definition at line 28 of file CTBsortS.icc. |
|
Produce index ind such that v[ind[..]] is sorted by operator
Definition at line 59 of file CTBsortS.icc. |