Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
November 27, 2010 Discussion about D on the gentoo forum | ||||
---|---|---|---|---|
| ||||
http://forums.gentoo.org/viewtopic-p-6498541.html?sid=f59057ee36c58c923cd13d4be3f839f2 Andrei |
November 27, 2010 Re: Discussion about D on the gentoo forum | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu Attachments:
| 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"?
|
November 28, 2010 Re: Discussion about D on the gentoo forum | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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!) |
November 28, 2010 Re: Discussion about D on the gentoo forum | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | 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 |
July 30, 2013 Re: Discussion about D on the gentoo forum | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | 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.
|
July 30, 2013 Re: Discussion about D on the gentoo forum | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | Oops, what the hell? |
July 30, 2013 Re: Discussion about D on the gentoo forum | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | 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.
|
Copyright © 1999-2021 by the D Language Foundation