foo!(bar) ==> foo{bar}

Benji Smith dlanguage at benjismith.net
Wed Oct 8 10:29:04 PDT 2008


Andrei Alexandrescu wrote:
> Denis Koroskin wrote:
>> What is Complex!float[] - Complex!(float)[] or Complex!(float[])?
> 
> My intent is for ! to bind the tightest.

So, would it be legal to write it like this?

    (Complex!float)[] array;

--benji



More information about the Digitalmars-d mailing list