onent: 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
void send(const Type& ...args)
{
}
template <>
void send(const int&x, cons
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: manish.baphna at citi dot com
Target Milestone: ---
Created attachment 41636
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41636&action=edit
diagnostic output from compiler
I am trying to use template f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81134
--- Comment #4 from Manish ---
Which section in particular you are referring?
I am looking at this doc, section 14.7 but couldn't find relevant point.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3690.pdf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81134
--- Comment #2 from Manish ---
Thanx Jonathan.
Your explanation explains behavior. I wonder if standard has some preference
dictated here?
++
Assignee: unassigned at gcc dot gnu.org
Reporter: manish.baphna at citi dot com
Target Milestone: ---
Following code going into recursive template instantiation without realizing
terminating case. Works find with clang.
template
struct GCD