"Timon Gehr" <[email protected]> wrote in message news:[email protected]... > > What the template 'X' currently achieves is an improvement in syntax: > > string generated = "foo!\""~x~"\"(\""~bar(y)~"\")"; >
Ewww, who in the world uses double-quote strings for code containing quotes?
That's not a fair comparison. This is a better comparison:
string generated = `foo!"`~x~`"("`~bar(y)~`")`;
vs
string generated = mixin(X!q{
foo!"@(x)"("@(bar(y))")
});
