Template instantiation syntax

Sergey Gromov snake.scaly at gmail.com
Fri Oct 10 14:23:24 PDT 2008


Fri, 10 Oct 2008 14:15:12 -0700,
Walter Bright wrote:
> Also, we're going to try using ! for single argument syntax, as in:
> 
> foo!bar  is same as   foo!(bar)
> foo!10   is same as   foo!(10)
> 
> etc. 0 arguments or more than 1 argument or arguments that are more than 
> one token long will still require !( ). We'll see how that works. I 
> think it looks rather nice.

I'd definitely give it a try.



More information about the Digitalmars-d mailing list