14 #ifndef __INCLUDED__SCOPIRA_TOOL_SORT_IMP__ 15 #define __INCLUDED__SCOPIRA_TOOL_SORT_IMP__ 21 template <
class T>
void qsort(T &s,
int lo0,
int hi0);
54 mid = ( lo0 + hi0 ) / 2;
60 while( ( lo < hi0 ) && ( s.compare_element(lo, mid) < 0 ) )
64 while( ( hi > lo0 ) && ( s.compare_element(hi, mid) > 0 ) )
75 s.swap_element(lo, hi);
Definition: archiveflow.h:20