const as per popular demand

Janice Caron caron800 at googlemail.com
Fri Sep 14 11:33:59 PDT 2007


On 9/14/07, Regan Heath <regan at netmail.co.nz> wrote:
> Neither is shared, readable, writable :P

Nice! :-)

Well, I certainly can't argue with that. However, I hope you recall
that Walter said:  "There is no way to specify a (pointer to)(const
pointer to)(mutable int)."

Those keywords you mentioned were at least an attempt to workaround
the restrictions of const transitivity. Whereas, const-by-default,
though a very nice idea, is not likely to help in that regard.



More information about the Digitalmars-d mailing list