Property discussion wrap-up

Zach the Mystic reachBUTMINUSTHISzach at gOOGLYmail.com
Tue Jan 29 09:14:15 PST 2013


On Monday, 28 January 2013 at 18:17:31 UTC, Zach the Mystic wrote:
> Steven Schveighoffer had mentioned the interesting point that 
> you may want *mandate* the use of parentheses.

If you absolutely must have parens and my Highlander structs are 
a no go for whatever reason, you could just have something like 
"@do":

@do int foo() { return 4; } // Makes parentheses mandatory

foo; // Error


More information about the Digitalmars-d mailing list