On 2013-02-09 02:36, Timon Gehr wrote:
"Taking the address of a property

As this is illegal for properties..."

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

Yes, but this DIP makes it invalid to define a @property ref T foo().
To use ref it would have to be a normal function: ref T foo().
So finally this example no longer ruins the property construct. :)

Reply via email to