From kde-kimageshop Sat Oct 25 11:16:23 2003 From: Patrick Julien Date: Sat, 25 Oct 2003 11:16:23 +0000 To: kde-kimageshop Subject: Re: nativeColor and endianness X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=106708163616199 On October 24, 2003 05:44 pm, Boudewijn Rempt wrote: > On Friday 24 October 2003 23:37, Patrick Julien wrote: > > Yes, because your not using pointers, if you have been tho, a simple > > forward reference would have done. > > But does QMap work with pointers? Yes and no, it will work since it's sorting on less of pointers, however, the problem is that you can't really find anything anymore in this case since you would need to search by the original pointer that was allocated and returned by new. Std::map provides additional template arguments so that you can store pointers but still sort and search by something else than the pointer value. QMap std::map, allocator > > > > In any case, if you're willing to do the work to use littlecms, maybe > > you're willing to load the color strategies dynamically too :) > > > :-). We'll see... Not tonight, anyway, since it's getting really late. _______________________________________________ kimageshop mailing list kimageshop@mail.kde.org http://mail.kde.org/mailman/listinfo/kimageshop