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