Fully transitive const is not necessary

Janice Caron caron800 at googlemail.com
Wed Apr 2 11:41:21 PDT 2008


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.



More information about the Digitalmars-d mailing list