c++/8427: internal error on ambiguous function template
bangerth@dealii.org
bangerth@dealii.org
Mon Nov 4 07:13:00 GMT 2002
Synopsis: internal error on ambiguous function template
State-Changed-From-To: feedback->open
State-Changed-By: bangerth
State-Changed-When: Mon Nov 4 07:13:28 2002
State-Changed-Why:
Attachment provided:
---------------------------
template<int i> struct g {};
template<int i, int j> void f(g<i/j>) { }
template<int i, int j> void f(g<j>) { }
int main()
{
f<4,2>(g<4/2>());
}
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8427
More information about the Gcc-bugs
mailing list