Writing a custom sort function

Arthur Clemens aclemens at xs4all.nl
Tue Jun 24 13:48:07 CDT 2003


I am trying to use a custom search function (indead to use the Unicode 
libraries ICU - I don't mind the app to become a little bigger, and I 
don't have to wait for a Valentina update).

So therefore I am trying to subclass FBL_ArraySet. This does not work 
yet, I am missing something.

What I have now is:

#include <VSDK/VSDK.h>
class UniSortArraySet : public FBL_ArraySet
{
     public:
         UniSortArraySet(FBL_BitSet& inSet);
         void Sort();
};

Now my compiler complain: UniSortArraySet.cpp:14: no matching function 
for call to `FBL_ArraySet::FBL_ArraySet()'

Does anyone (Ruslan?) have experience in doing this right, or an 
example?

I am also missing the qsort_long definition, I only see the declaration 
in FBL_ArraySet.cpp.

Arthur Clemens


More information about the Valentina mailing list