Const iterators, what's next ?
Boudewijn Rempt
boud at valdyas.org
Thu Oct 19 10:03:13 CEST 2006
On Thursday 19 October 2006 09:49, Cyrille Berger wrote:
> We have been pushing to answer this question for a long time now. The truth
> is that with constness of src, I am more confortable with having src and
> dst, but as constify it will ask some work that I am not willing to do if
> we think that we will change the signature of the function.
I think that having
process(const KisPaintDeviceSP src, KisPaintDeviceSP dst, ...)
would be nicest. That way plugins could still use filters to copy changed
pixels to a second paint device, which might be useful.
--
Boudewijn Rempt
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20061019/26432450/attachment.pgp
More information about the kimageshop
mailing list