On onsdag den 20. Februar 2008, Werner Van Belle wrote:
> Bo Thorsen wrote:
> > I guess my next post should be about the mutable storage modifier :)
> That is not strictly necessary :-) I believe that had something to do
> with const objects that can change in the back or something like that ?
Correct. If you have a const object, for example this in a const method, all
mutable variables are still writable. 9 out of 10 times I use this is because
I have a dirty flag on an object, and a getX() const method where I need to
work on the attributes if the object is marked dirty.
Next, the three very different meanings of static? :-)
Thorsen Consulting ApS - Qt consulting services
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/