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

Bruno Medeiros brunodomedeiros+spam at com.gmail
Tue Oct 14 11:06:50 PDT 2008


Ary Borenszweig wrote:
> Now that you mention it, making template syntax be !() or {} makes it 
> harder to port C++ code to D. I wonder why this isn't a big deal, but 
> keeping "int[3]*[5] x;"-like declarations is a must... :-(
> 

Didn't you mean the C-style declarations (ie, "int (*x[5])[3];") ?

-- 
Bruno Medeiros - Software Developer, MSc. in CS/E graduate
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list