Fully transitive const is not necessary

guslay guslay at gmail.com
Wed Apr 2 11:55:29 PDT 2008


Janice Caron Wrote:

> On 02/04/2008, guslay <guslay at gmail.com> wrote:
> > What's logical const anyway?
> 
> By my definition, a C++ class is logically const, if and only if at
> least one of its member variables is declared using the keyword
> "mutable".
> 
> If other people use the phrase to mean something different, that
> probably explains much of the confusion.

Ok, let's take your definition.

I would like to hear your reflexion about the rest of the post, that is how D "totally-not-logical-const" is conceptually not different than "logical const".





More information about the Digitalmars-d mailing list