[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Const iterators, what's next ?
From: Bart Coppens <kde () bartcoppens ! be>
Date: 2006-10-19 9:54:21
Message-ID: 200610191154.21099.kde () bartcoppens ! be
[Download RAW message or body]
On Thursday 19 October 2006 08:28, Casper Boemann wrote:
> First of all I don't get it. What exactly have you constified. A const
> iterator can't move so it can't be like a const class.
Well it's more to draw an analogue with C++'s const char* ptr; which you can
still move around, but not write to (compared to char* const ptr; which you
can write to, but not move around). It's not really the class, but the thing
that is pointed to that is const.
Bart
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic