@property (again)

deadalnix deadalnix at gmail.com
Fri Nov 22 02:21:15 PST 2013


On Friday, 22 November 2013 at 10:14:54 UTC, Jacob Carlborg wrote:
> On 2013-11-22 08:01, deadalnix wrote:
>
>> It removes all ambiguities.
>>
>> Optional parentheses are still an option when they aren't 
>> ambiguous.
>>
>> void foo() {}
>>
>> foo; // Can still call foo if we want to.
>
> int bar ();
> typeof(bar);
>
> What will the typeof resolve to, "int" or "int function ()"?

You know that this is the exact same problem as Kenji's packages 
in another way ?


More information about the Digitalmars-d mailing list