Invariant doesn't apply to declared symbols

Janice Caron caron800 at googlemail.com
Fri Nov 30 03:10:47 PST 2007


On Nov 30, 2007 10:58 AM, Walter Bright <newshound1 at digitalmars.com> wrote:
> It's much simpler:
>
>         const(S) s; // can rebind s
>         const S s;  // cannot rebind s

That's not simple. S and (S) should be the same thing.



More information about the Digitalmars-d mailing list