[Bug c++/53723] New: [C++11] Variadic template specialisation fails
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53723 Bug #: 53723 Summary: [C++11] Variadic template specialisation fails Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: sethcarne...@gmail.com Created attachment 27656 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27656 Example code The code in the attached file, which should compile, does not. It fails with the error: test.cpp:6:5: error: template-id 'foo' for 'int foo()' does not match any template declaration I compiled with the following command line: g++ test.cpp -std=c++11 -Wall -Wextra -fno-strict-aliasing -fwrapv
[Bug c++/53723] [C++11] Variadic template specialisation fails
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53723 --- Comment #1 from Seth Carnegie 2012-06-19 17:16:03 UTC --- Also you might want to know that Clang 3.2 accepts the code. There was a StackOverflow question about it here: http://stackoverflow.com/a/11069116/726361
[Bug c++/53723] [C++11] Variadic template specialisation fails
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53723 --- Comment #6 from Seth Carnegie 2012-06-20 20:27:25 UTC --- Actually I was using 4.7.1 and I did use g++ -v, I just made a mistake in simplifying the code from the stackoverflow example. I compiled the simplification with 4.7.1 but the SO example with 4.7 and assumed it was the same error (since the error message was exactly the same).