This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/80187] C++ variant should be trivially copy constructible if possible
- From: "ambrop7 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 May 2017 20:38:52 +0000
- Subject: [Bug libstdc++/80187] C++ variant should be trivially copy constructible if possible
- Auto-submitted: auto-generated
- References: <bug-80187-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80187
--- Comment #4 from Ambroz Bizjak <ambrop7 at gmail dot com> ---
Oh wait sorry, that doesn't solve it (yet), the variant_storage_byte would
still have a default copy constructor that copies the byte member.