Re: [gtkmm] gtkmm 2.4 questions



Matthew Walton wrote:
> 
> Frank Naumann wrote:
> >
> > But to be honest, I never really understand for what mutable was
> > introduced. I read the chapter about mutable in Stroustroup several
> > times with getting the point.
> 
> Then it's not surprising that you haven't understood the point Murray is
> attempting to make. Unfortunately I don't think I'm really qualified to
> explain it. It's clear enough what mutable actually does, I hope, but
> the issue of what it's actually *for* is more difficult.

I may be oversimplifying that, but as I undestand it, mutable is just a
clean way for declaring a variable as not beeing significant enough to
the constantness of the state of an object. A counter, for example. Or a
cache.

Silvio



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]