Re: 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.
| Newsgroups | gmane.comp.gcc.prs,gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]> |
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