[Bug c++/86173] Default construction of a union (in std::optional)

glisse at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 16 10:08:00 GMT 2018


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

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Note that constructing optional from std::nullopt does avoid the memset.


More information about the Gcc-bugs mailing list