Inclusion of Parenthesis on Certain Functions

Bastiaan Veelo Bastiaan at Veelo.net
Sun Jun 13 22:01:11 UTC 2021


On Sunday, 13 June 2021 at 15:45:53 UTC, Justin Choi wrote:
> I've tried looking through the documentation but can't find an 
> explanation for why you can use it without parenthesis.

https://dlang.org/spec/function.html#optional-parenthesis

(Some exceptions regarding delegates and function pointers exist.)

—Bastiaan


More information about the Digitalmars-d-learn mailing list