Taking address of properties

Steven Schveighoffer schveiguy at yahoo.com
Thu Feb 7 13:08:52 PST 2013


On Thu, 07 Feb 2013 15:57:56 -0500, Robert <jfanatiker at gmx.at> wrote:

> Just to be clear here, with DIP23 in place, the syntax at the caller
> side for:
>
> @property ref T front(T[] arr) { return arr[0];}
>
> would not change if you remove the @property. So little code breakage
> here and the code that breaks is easily fixed by removing @property.

int delegate()[] arr;

arr.front();

-Steve


More information about the Digitalmars-d mailing list