Quoting Bo Thorsen <bo@xxxxxxxxxxxxxxxxxxxxx>:
> 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? :-)
I'd say that there are four ;-)
static object at file level - has local linkage, initialized at app startup
static object at function scope - initialized at 1st call of the function
static class member - similar to static object at file level, but with class
static member function - like a standalone function but with class access
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/