DIP23 draft: Fixing properties redux

Jacob Carlborg doob at me.com
Mon Feb 4 00:22:56 PST 2013


On 2013-02-03 17:11, Andrei Alexandrescu wrote:

> It's dangerous to get too clever about that. Anyhow, such rewrites are
> possible:
>
> ++a.p ----> { auto v = a.p; ++v; a.p = v; return v; }()
> a.p++ ----> { auto v = a.p; ++a.p; return v; }()
>
> and so on.

Is that part of the proposal or not?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list