Context-Free Grammars? What about arrays?
%u
wfunction at hotmail.com
Fri Feb 11 07:51:53 PST 2011
Sorry, please ignore the very last line:
Temp!(2) b; //Why does this break?
I totally wasn't thinking about the fact that T is a tuple in "int[T] arr;". (I
would intuitively think that it should still work, given that a tuple is just a
bunch of types, but I can see why it wouldn't.)
However, why the previous statement breaks:
Temp!() a;
is still puzzling me, since giving nothing to the tuple should be equivalent to
nothing being in the array.
Thanks.
More information about the Digitalmars-d-learn
mailing list