Transitive const sucks

Janice Caron caron800 at googlemail.com
Tue Sep 11 08:01:55 PDT 2007


On 9/11/07, Sean Kelly <sean at f4.ca> wrote:
>
> My classic example for the need of "mutable" is a mutex used to
> synchronize access to class data.  The mutex must be modified even for
> read operations.


Again, if we let D's "private" attribute also imply C++'s "mutable", then
that problem goes away.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20070911/a3b71178/attachment.html>


More information about the Digitalmars-d mailing list