[Bug libstdc++/87855] std::optional<T> only copy-constructible if T is trivially copy-constructible

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 19 11:31:00 GMT 2018


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

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to fiesh from comment #0)
> (If this is true, is it
> a separate gcc bug that it does not delete the union's constructor?)

Yes, I think so. Could you please file a Component=c++ bug too?


More information about the Gcc-bugs mailing list