https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111272

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Paul Keir from comment #4)
> I believe P2448R2 would only allow the code, without the static_assert.
> Explicitly calling `test()`, `Jam::Jam()` and then `Jam::ft()` here would
> mean evaluating a non-constexpr function (i.e. `ft`). ft is
> *constexpr-suitable*, but still needs the `constexpr` specifier when it is
> constant evaluated.

I agree.

Reply via email to