[OT] Modules dropped out of C++17

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 8 15:28:22 PDT 2015


On 6/8/15 2:43 PM, Tobias Müller wrote:
> "ponce" <contact at gam3sfrommars.fr> wrote:
>> C++'s constexpr looks broken because everything must be marked
>> constexpre, which defeats the purpose of having compile-time code looking
>> like runtime code. But I never had the pleasure to use it.
>
> constexpr functions are just as well runtime functions. They are only
> annotated that they are usable in a constant expression.
> I don't think it's fair to call that broken regarding all the attributes
> that D functions can take...

"A job well done" doesn't quite spring to mind, either.

FWIW, a reference to D came about on 
http://www.reddit.com/r/programming/comments/392jxf/modules_wont_make_it_in_c17/.


Andrei


More information about the Digitalmars-d mailing list