digitalmars.D - Re: Fully transitive const is not necessary
- guslay <guslay gmail.com> Apr 02 2008
Janice Caron Wrote:On 02/04/2008, guslay <guslay 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".
Apr 02 2008