www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Discussion about D on the gentoo forum

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
http://forums.gentoo.org/viewtopic-p-6498541.html?sid=f59057ee36c58c923cd13d4be3f839f2


Andrei
Nov 27 2010
next sibling parent Seth Hoenig <seth.a.hoenig gmail.com> writes:
On Sat, Nov 27, 2010 at 8:11 AM, Andrei Alexandrescu <
SeeWebsiteForEmail erdani.org> wrote:

 http://forums.gentoo.org/viewtopic-p-6498541.html?sid=f59057ee36c58c923cd13d4be3f839f2


 Andrei
Perhaps you could answer the OP's question as to "what happened to it"?
Nov 27 2010
prev sibling parent reply Adam D. Ruppe <destructionator gmail.com> writes:
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!)
Nov 28 2010
next sibling parent bearophile <bearophileHUGS lycos.com> writes:
Adam D. Ruppe:

 One of the things I believe to be a huge improvement over C++ in D is variadic
 templates.
G++ has them now, they are in C++0x: http://en.wikipedia.org/wiki/C_0x#Variadic_templates Bye, bearophile
Nov 28 2010
prev sibling parent reply "Kagamin" <spam here.lot> writes:
On Sunday, 28 November 2010 at 16:29:19 UTC, Adam D. Ruppe wrote:
 How would you implement something like std.conv.text in C++? 
 The D version is
 trivial: 5 lines and easily understandable.
Last I checked C++ didn't know about strings.
Jul 30 2013
parent reply "Kagamin" <spam here.lot> writes:
Oops, what the hell?
Jul 30 2013
parent "Vladimir Panteleev" <vladimir thecybershadow.net> writes:
On Tuesday, 30 July 2013 at 16:04:04 UTC, Kagamin wrote:
 Oops, what the hell?
A spammer bumped this thread. I've deleted the spam posts now, though.
Jul 30 2013