"ponce" <cont...@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

Reply via email to