Inclusion of Parenthesis on Certain Functions

Justin Choi justinjchoice at gmail.com
Sun Jun 13 15:45:53 UTC 2021


I'm currently learning D right now, and I was wondering why 
certain functions like std.stdio.readln can work both with and 
without parenthesis for the function call. I've tried looking 
through the documentation but can't find an explanation for why 
you can use it without parenthesis.


More information about the Digitalmars-d-learn mailing list