DIP23 draft: Fixing properties redux

Tove tove at fransson.se
Mon Feb 4 11:09:25 PST 2013


On Monday, 4 February 2013 at 16:01:45 UTC, Steven Schveighoffer 
wrote:
> @property int foo();
>
> auto x = &foo; // error
> int delegate() x = &foo; // ok
>
> -Steve

I was going to submit the same suggestion, but didn't find time 
to until just now.

gets my vote.


More information about the Digitalmars-d mailing list