[Bug c++/81947] New: variadic template specialization doesn't compile
manish.baphna at citi dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 23 16:30:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81947
Bug ID: 81947
Summary: variadic template specialization doesn't compile
Product: gcc
Version: 4.4.7
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: manish.baphna at citi dot com
Target Milestone: ---
->cat vartemp.cpp & g++ vartemp.cpp -std=c++0x
template <class ...Type>
void send(const Type& ...args)
{
}
template <>
void send(const int&x, const double& y)
{
}
int main(){
}
vartemp.cpp:7: error: template-id âsend<>â for âvoid send(const int&, const
double&)â does not match any template declaration
gcc version 4.4.7 20120313
More information about the Gcc-bugs
mailing list