c++/10845: [3.3/3.4 regression] template member function (getting a nested template as paramter) cannot be called anymore if another unrelated template member funciton is defined.
giovannibajo@libero.it
giovannibajo@libero.it
Sun May 18 21:06:00 GMT 2003
Old Synopsis: `template method` not matched in template class
New Synopsis: [3.3/3.4 regression] template member function (getting a nested template as paramter) cannot be called anymore if another unrelated template member funciton is defined.
State-Changed-From-To: open->analyzed
State-Changed-By: bajo
State-Changed-When: Sun May 18 19:51:45 2003
State-Changed-Why:
Confirmed. The funny thing about this bug is that if you
remove the member functions g() and h(), the call to f()
succeeds.
I rate this as a regression because the above snippet
without h() compiles with 2.95 but fails on 3.x. The snippet
provided by the poster fails also with 2.95, but it's the
opposite problem: it manages to call f() but not g() and
h().
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10845
More information about the Gcc-bugs
mailing list