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: [email protected]
ReportedBy: [email protected]
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<int>' 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