dropping parentheses on template instantiation

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Oct 5 12:46:18 PDT 2008


Ary Borenszweig wrote:
> KennyTM~ escribió:
>>
>> It seems that
>>
>> Stack!int
>> Stack at int
>> Stack#int
> 
> Well, another possibility is:
> 
> Stack¿int? stack;
> HashMap¿float, long? map;
> 
> Why didn't anyone mention that before? :-)

You sure meant:

¿Why didn't anyone mention that before?


Andrei



More information about the Digitalmars-d mailing list