template<class type, class allocator>
template<typename SortFuncSpec>
void FX::QPtrList< type, allocator >::sort ( SortFuncSpec  sortfunc  )  [inline, inherited]

Sorts the list using a user supplied callable entity taking two pointers of type type.

Definition at line 253 of file qptrlist.h.

References FX::QValueListQSort< type, movePolicy, swapPolicy, comparePolicy >::run().

00254     {   // Would use Base::sort but this is faster
00255         QValueListQSort<type *, Pol::itMove, swapPolicy, comparePolicyFunc> sorter((QValueList<type *> &) *this);
00256         //sorter.comparer=sortfunc;
00257         sorter.run();
00258     }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:43 2009 for TnFOX by doxygen v1.4.7