Template instantiation syntax

bearophile bearophileHUGS at lycos.com
Sat Oct 11 15:44:12 PDT 2008


Robert Fraser:
> I think a context-free grammar is a big win all-around.

Such things have some disadvantages too, like not allowing (?) a syntax like, for example:
foreach (i, x in something) {...}

Instead of the current more error-prone:
foreach (i, x; something) {...}

Bye,
bearophile



More information about the Digitalmars-d mailing list