Stroustrup's slides about c++11 and c++14

via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 30 02:21:49 PDT 2014


On Tuesday, 30 September 2014 at 07:04:39 UTC, eles wrote:
> I think the correct counter-attack is simply to write a note 
> showing those cases that concepts lite do not solve, at least 
> not as nicely as static if would have.

It is probably not a good idea to bring more attention to it… 
some might end up agreeing with Stroustrup.

"static if" is a troubled construct and too close to macros to be 
a good language design feature, it is in the same bag as string 
mixins. "if(constexpr…)" + concepts etc better fit C++.

> Eventually with D examples. It will bring audience.

Yes, this a  better idea. Write code examples that compare common 
C++ patterns to D where D looks cleaner.



More information about the Digitalmars-d mailing list