Discussion about D on the gentoo forum

Adam D. Ruppe destructionator at gmail.com
Sun Nov 28 08:29:19 PST 2010


One of the things I believe to be a huge improvement over C++ in D is variadic
templates. I'm wondering if C++ can do it anyway - my c++ is a bit rusty, but I
can't think of a way to do it.

How would you implement something like std.conv.text in C++? The D version is
trivial: 5 lines and easily understandable.

If it's as ugly as I'm imagining it is, this is a good example for a pretty big
improvement. (Though I still believe the sum of the little improvements are
greater than any of the big ones!)


More information about the Digitalmars-d mailing list