Const iterators, what's next ?

Cyrille Berger cberger at cberger.net
Thu Oct 19 09:37:32 CEST 2006


> Previously we had a bool writable argument. Is that what you intend/have
> removed in favour of two destinct classes with slightly different
> signatures regarding access to pixels?
yes that's it.

> I would like that, and as a consequence I also like two different factory
> methods. I think it makes things more clear. However I don't think they
> should be named const iterators, but rather Read and Write iterators (if
> that is what they are?)
It's more ReadOnly and ReadWrite, but const and not const is more 
c-plusplussy :) But I don't really care about the names :)

-- 
--- Cyrille Berger ---


More information about the kimageshop mailing list