On Sunday, 28 November 2010 at 16:29:19 UTC, Adam D. Ruppe wrote:
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<a href="http://www.nile7.com/content/%D8%B4%D8%B1%D9%83%D8%A9-%D9%86%D9%82%D9%84-%D8%A7%D8%AB%D8%A7%D8%AB-%D9%88%D9%86%D8%B8%D8%A7%D9%81%D8%A9-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0550070601";>شركة تنظيف بالرياض</a>
<a
href="http://www.nile7.com/content/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%A7%D9%88%D8%A7%D8%A6%D9%84-%D9%84%D9%83%D8%B4%D9%81-%D8%AA%D8%B3%D8%B1%D8%A8%D8%A7%D8%AA-%D8%A7%D9%84%D9%85%D9%8A%D8%A7%D9%87-%D9%88%D8%B9%D8%B2%D9%84-%D8%A7%D9%84%D8%AE%D8%B2%D9%86%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0550070601";>افضل
شركة كشف تسربات بالرياض</a>
<a
href="http://www.nile7.com/content/%D8%A7%D9%84%D8%A7%D9%88%D8%A7%D8%A6%D9%84-%D9%84%D9%85%D9%83%D8%A7%D9%81%D8%AD%D8%A9-%D8%A7%D9%84%D8%AD%D8%B4%D8%B1%D8%A7%D8%AA-%D9%88%D8%B1%D8%B4-%D8%A7%D9%84%D9%85%D8%A8%D9%8A%D8%AF%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0550070601";>مكافحة
حشرات</a>
<a
href="http://www.nile7.com/content/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%A7%D9%88%D8%A7%D8%A6%D9%84-%D9%84%D9%84%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0550070601";>تنظيف
شقق بالرياض</a>
<a
href="http://www.nile7.com/content/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%A7%D9%88%D8%A7%D8%A6%D9%84-%D9%84%D9%86%D9%82%D9%84-%D8%A7%D9%84%D8%A7%D8%AB%D8%A7%D8%AB-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0550070601";>افضل
شركة نقل أثاث</a>
<a
href="http://www.nile7.com/content/%D8%B4%D8%B1%D9%83%D8%A9-%D8%A7%D9%84%D8%A7%D9%88%D8%A7%D8%A6%D9%84-%D9%84%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A7%D9%84%D8%B4%D9%82%D9%82-%D9%88%D8%A7%D9%84%D9%81%D9%84%D9%84-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6-0550070601";>
افضل شركة نظافة فلل وشقق و خزانات بالرياض</a>
<a
href="http://www.nile7.com/content/%D8%AA%D8%B1%D9%83%D9%8A%D8%A8-%D8%A7%D9%84%D9%86%D9%88%D8%A7%D9%81%D8%B0-%D9%88%D8%A7%D9%84%D8%A7%D8%A8%D9%88%D8%A7%D8%A8-%D8%A7%D9%84%D8%A7%D9%84%D9%85%D9%86%D9%8A%D9%88%D9%85-0503953535";>شركات
المنيوم</a>
<a
href="http://www.nile7.com/content/%D8%A7%D9%84%D8%B4%D8%A8%D8%A7%D8%A8%D9%8A%D9%83-%D9%88%D8%A7%D9%84%D8%A7%D8%A8%D9%88%D8%A7%D8%A8-%D8%A7%D9%84%D8%A7%D9%84%D9%88%D9%85%D9%86%D9%8A%D9%88%D9%85-%D9%85%D9%86-%D8%A7%D9%84%D8%B9%D9%84%D9%8A%D8%A7%D9%86-0503953535";>ابواب
سحب</a>
<a
href="http://www.nile7.com/content/%D8%B2%D8%AC%D8%A7%D8%AC-%D9%88%D8%A7%D9%83%D8%B3%D8%B3%D9%88%D8%A7%D8%B1%D8%A7%D8%AA-%D8%A7%D9%84%D9%86%D9%88%D8%A7%D9%81%D8%B0-%D9%85%D9%86-%D9%85%D8%A4%D8%B3%D8%B3%D8%A9-%D8%A7%D9%84%D8%B9%D9%84%D9%8A%D8%A7%D9%86-0503953535";>زجاج
نوافذ</a>
<a
href="http://www.nile7.com/tags/%D8%A7%D9%81%D8%B6%D9%84-%D8%B4%D8%B1%D9%83%D8%A9-%D9%83%D8%B4%D9%81-%D8%AA%D8%B3%D8%B1%D8%A8%D8%A7%D8%AA";>افضل
شركة كشف تسربات</a>

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!)

Reply via email to