DIP26: properties defined

Timon Gehr timon.gehr at gmx.ch
Fri Feb 8 17:36:23 PST 2013


On 02/09/2013 01:27 AM, John Colvin wrote:
> On Friday, 8 February 2013 at 23:53:40 UTC, Robert wrote:
>> Ok. Here finally it is:
>>
>> http://wiki.dlang.org/DIP26
>>
>>
>> Best regards,
>>
>> Robert
>
> This seems a pretty straightforward approach.
> The less surprises and special cases the better.
>...

"Taking the address of a property

As this is illegal for properties..."

@property ref int foo();
int* y = &(&foo)();



More information about the Digitalmars-d mailing list