by scharliee · 3y ago · 0 comments
This.
Constexpr should have been at the eval site, i.e something like:
consteval auto x = foo();
And foo() is just a normal function, if the compiler can eval it at compile time - all good - if not, compiler error.No comments yet.