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:
--001636c931e4dae69a04960a9f47
Content-Type: text/plain; charset=ISO-8859-1

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"? --001636c931e4dae69a04960a9f47 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <br><br><div class=3D"gmail_quote">On Sat, Nov 27, 2010 at 8:11 AM, Andrei = Alexandrescu <span dir=3D"ltr">&lt;<a href=3D"mailto:SeeWebsiteForEmail erd= ani.org">SeeWebsiteForEmail erdani.org</a>&gt;</span> wrote:<br><blockquote= class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px= solid rgb(204, 204, 204); padding-left: 1ex;"> <a href=3D"http://forums.gentoo.org/viewtopic-p-6498541.html?sid=3Df59057ee= 36c58c923cd13d4be3f839f2" target=3D"_blank">http://forums.gentoo.org/viewto= pic-p-6498541.html?sid=3Df59057ee36c58c923cd13d4be3f839f2</a><br><font colo= r=3D"#888888"> <br> <br> Andrei<br> </font></blockquote></div><br><br>Perhaps you could answer the OP&#39;s que= stion as to &quot;what happened to it&quot;?<br><br><br> --001636c931e4dae69a04960a9f47--
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
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