[Bug c++/81211] Unhelpful error messages using template instance with non-copyable type argument

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 26 15:20:00 GMT 2017


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Stephen Kell from comment #0)
> (It may also be a bug in libstdc++ that std::function should require this of
> its argument type, although that's not completely bonkers.)

It's explicitly required by the standard.


More information about the Gcc-bugs mailing list