This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81947] New: variadic template specialization doesn't compile
- From: "manish.baphna at citi dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Aug 2017 14:06:25 +0000
- Subject: [Bug c++/81947] New: variadic template specialization doesn't compile
- Auto-submitted: auto-generated
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