C++ guys hate static_if?

Dmitry Olshansky dmitry.olsh at gmail.com
Tue Mar 12 01:02:15 PDT 2013


09-Mar-2013 05:19, Brad Anderson пишет:
> On Saturday, 9 March 2013 at 00:48:59 UTC, DypthroposTheImposter wrote:
>>        See the static_if paper here:
>>
>> http://isocpp.org/forums
>>
>> Under the post "constraints and static if" there is a link to a
>> document about
>> static_if
>>
>> https://docs.google.com/viewer?a=v&pid=forums&srcid=MDIyMDc3NjUwMTczOTM0Mjk3NjABMDI2MzM3MjkxNDM4NDQ5MzE4NDcBLWVsS1Y4dFhtdDhKATUBaXNvY3BwLm9yZwF2Mg
>>
>>
>>       Are they full of it? Has it caused the problems they mention
>> in
>> D?
>
> Well, the two guys with an alternative proposal (concepts-lite) seem to
> hate static if (along with a third guy).
>

In fact I'd *love* for C++ to take the concepts-lite path.

Why?
Because then we can see how it works out for them and probably steal 
some ideas, of course, porting the to D's static if workhorse. C++14 is 
just around the corner if they are actually able to ship standards that 
fast (as they plan).

And even if concepts is a failure... well, it's C++ - I couldn't care 
less :)

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list