This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/83981] vector::resize(size_type) should not require T to be CopyInsertable when std=c++14
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Jan 2018 21:53:16 +0000
- Subject: [Bug libstdc++/83981] vector::resize(size_type) should not require T to be CopyInsertable when std=c++14
- Auto-submitted: auto-generated
- References: <bug-83981-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83981
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Also, if boost::optional had a noexcept move constructor it would work fine.
This is a boost bug.
The part of the patch addressing PR 83982 seems right.