@property - take it behind the woodshed and shoot it?

Walter Bright newshound2 at digitalmars.com
Thu Jan 24 01:01:25 PST 2013


On 1/24/2013 12:57 AM, Jacob Carlborg wrote:
>> only happens if f is a function that only has overloads for () and (one
>> argument). No variadics.
>
> What do you mean by: "overloads for ()"?

I mean there are no f(...) and f(U,T) overloads.

>> 3. Parens are required for calling delegates or function pointers.
>>
>> 4. No more @property.
>
> So:
>
> void delegate () foo ();
>
> foo() // would call the delegate ?


Yes.



More information about the Digitalmars-d mailing list