Writing a custom sort function

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jun 24 16:01:02 CDT 2003


on 6/24/03 14:48, Arthur Clemens at aclemens at xs4all.nl wrote:

> 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?

It seems you need define or call default ctor.
Or you have not pass parameter to FBL_ArraySet();

You have not show your code in cpp file..


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

I will send it to you off list.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list