[Bug c++/70810] std::function template variadic template arguments do not unpack in function template

2016-05-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70810 --- Comment #5 from Jonathan Wakely --- Here is a simplified version of your code which gives an error using GCC, Clang and Intel icc: template T declval(); template struct function { template()(declval()...))> function(F) { }

[Bug c++/70810] std::function template variadic template arguments do not unpack in function template

2016-05-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70810 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/70810] std::function template variadic template arguments do not unpack in function template

2016-05-04 Thread sd.foolegg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70810 sd.foolegg at gmail dot com changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolut

[Bug c++/70810] std::function template variadic template arguments do not unpack in function template

2016-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70810 --- Comment #2 from Jonathan Wakely --- Similar problems described at: http://stackoverflow.com/q/11103384/981959 http://stackoverflow.com/q/34051435/981959

[Bug c++/70810] std::function template variadic template arguments do not unpack in function template

2016-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70810 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---