Const sucks
Janice Caron
caron800 at googlemail.com
Tue Sep 11 07:07:47 PDT 2007
On 9/11/07, Nicolai Waniek <nospam at inval.id> wrote:
>
> Apart from that it would cover your problem
> with "internal RW-access, external R-access only".
>
I think you may have missed the point there. We can already do that with D.
I /have/ no problem with "internal RW-access, external R-access only". There
is no problem to solve. Nonetheless, it would still be cool if there were a
new keyword or some other way to mean:
privately_readwrite_but_publicly_readonly int x;
See?
I already know how to do it without the
"privately_readwrite_but_publicly_readonly" keyword.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20070911/5cb109a9/attachment.html>
More information about the Digitalmars-d
mailing list