Taking address of properties

Robert jfanatiker at gmx.at
Thu Feb 7 13:28:42 PST 2013


On Thu, 2013-02-07 at 16:08 -0500, Steven Schveighoffer wrote:
> int delegate()[] arr;
> 
> arr.front();

That's part of the mess we are trying to clean up here? As of DIP 23,
you would have to do arr.front()() in order to actually call the
delegate.

The current behaviour is also that you have to do arr.front()() in order
to actually call the function. So with DIP23 in effect you would
actually have to remove @property in order to be backwards compatible.





More information about the Digitalmars-d mailing list