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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I don't think this is a bug in std::optional, I think it's how C++20 works.

Reply via email to