DIP23 draft: Fixing properties redux

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Feb 4 14:23:25 PST 2013


On 2/4/13 11:01 AM, Steven Schveighoffer wrote:
> @property int foo();
>
> auto x = &foo; // error
> int delegate() x = &foo; // ok

That's an interesting idea. I'm a bit weary about it though. At least 
for properties I'm inclined toward starting real tight with address-of 
disabled and relax the rules later.

Andrei


More information about the Digitalmars-d mailing list