On 01/30/2013 05:39 PM, TommiT wrote:
...

"Empty parentheses may be omitted when calling functions with a
user-defined name."
...

This is subject to 4 exceptions:

auto foo() { ... }

1. &foo           // get function pointer or delegate
2. alias x = foo; // alias to function (same for alias params)
3. typeof(foo)    // type of function
4. foo()          // function called

Reply via email to