https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83981
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |SUSPENDED Summary|vector::resize(size_type) |[DR3758] |should not require T to be |vector::resize(size_type) |CopyInsertable when |should not require T to be |std=c++14 |CopyInsertable when | |std=c++14 --- Comment #18 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think what libstdc++ is doing here is correct, but we need the standard to be clarified to make it clear that the bug is in boost::optional because it fails to meet the requirements for std::vector::resize(size_type). I'm going to reopen Bug 90192 as a separate bug, rather than a dup of this one, and suspend this one pending resolution of https://cplusplus.github.io/LWG/issue2158 and/or https://cplusplus.github.io/LWG/issue3758