https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102656

--- Comment #1 from Dmitry Prokoptsev <dprokoptsev at gmail dot com> ---
Follow-up: adding a non-trivial copy constructor --
    future(const future& f): x(f.x) {}
-- also resolves the ICE.

Reply via email to