This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/40155] [c++1x] variadic template pack problem
- From: "bangerth at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2009 02:56:20 -0000
- Subject: [Bug c++/40155] [c++1x] variadic template pack problem
- References: <bug-40155-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from bangerth at gmail dot com 2009-05-15 02:56 -------
Oh, should've said:
g/x> /home/bangerth/bin/x86/gcc-mainline/bin/c++ -std=c++0x -c x.cc
x.cc:9: error: invalid conversion from 'int (*)(double)' to 'int (*)()'
x.cc:5: error: too many arguments to function 'int forward_call(RT (*)(A ...),
typename identity<A>::type ...) [with RT = int, A = , typename
identity<A>::type = A]'
x.cc:9: error: at this point in file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40155