https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83981
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2018-01-23
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
It compiles if you add noexcept to your move constructor.
We need to handle the case where there's a throwing move but no copy
constructor, and use the move anyway.