any news on const/invariant?

Janice Caron caron800 at googlemail.com
Tue Nov 27 12:15:18 PST 2007


On 11/27/07, Chris Miller <chris at dprogramming.com> wrote:
> but if const is applied before the return type, precedence (the
> juxtaposition) dictates association with the return type.
>
> This is what I would assume.

It's what I would assume too. That's what the "principle of least
surprise" would lead one to expect.

But we'd both be wrong.



More information about the Digitalmars-d mailing list