Const Ideas (and reference types)

Janice Caron caron800 at googlemail.com
Fri Nov 30 22:11:01 PST 2007


On 11/30/07, Denton Cockburn <diboss at hotmail.com> wrote:
> > const X x;  // all const
> > const(X) x; // data const, ref mutable
>
> I like this, nice and clear.

I don't think I'll ever like any scheme in which const(X) != const X.



More information about the Digitalmars-d mailing list