Template instantiation syntax

Walter Bright newshound1 at digitalmars.com
Fri Oct 10 16:30:33 PDT 2008


Benji Smith wrote:
> Quick question: is "!" an operator in this context?

Yes.

> (Or is it 
> something-other-than-an-operator? If so, what is it?)
> 
> Is this code legal:
> 
>    (foo!bar)[] myArray;

Yes, just like:
      foo.bar[] myArray;
is legal.



More information about the Digitalmars-d mailing list