[OT] Modules dropped out of C++17

Tobias Müller via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 8 14:43:17 PDT 2015


"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...

Tobi


More information about the Digitalmars-d mailing list