This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/87855] std::optional<T> only copy-constructible if T is trivially copy-constructible
- From: "ville.voutilainen at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Nov 2018 12:14:58 +0000
- Subject: [Bug libstdc++/87855] std::optional<T> only copy-constructible if T is trivially copy-constructible
- Auto-submitted: auto-generated
- References: <bug-87855-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87855
Ville Voutilainen <ville.voutilainen at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com
--- Comment #11 from Ville Voutilainen <ville.voutilainen at gmail dot com> ---
Jason, could you please settle this hash with Richard? The snippets I wrote
look naively like they should elide, but the compilers seem to disagree on
that.