This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/70810] std::function template variadic template arguments do not unpack in function template
- 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: Wed, 27 Apr 2016 10:57:08 +0000
- Subject: [Bug c++/70810] std::function template variadic template arguments do not unpack in function template
- Auto-submitted: auto-generated
- References: <bug-70810-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70810
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Not a bug, the parameter pack for std::function<void(Ts...)> cannot be deduced
from the arguments, because a function pointer is not a std::function.