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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #5)
> In fact the p0602R3 proposal you linked to is relevant, because it would
> *require* implementations to define the operator as defaulted (in order to
> be trivial) and so the compiler is always going to make it constexpr for
> std::optional<int>.

I've raised this with the standards committee.

Reply via email to