This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/3398: "using" with member-function template
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/3398: "using" with member-function template
- From: mps at sonartech dot com dot au
- Date: 25 Jun 2001 08:45:30 -0000
- Reply-To: mps at sonartech dot com dot au
>Number: 3398
>Category: c++
>Synopsis: "using" with member-function template
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Jun 25 01:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Michael Shepanski
>Release: 2.95.2 19991024
>Organization:
>Environment:
Linux PPC
>Description:
// generate ICE:
struct A {
template <typename T> void f (T);
};
class B : A {
template <typename T> using A::f <T>;
};
>How-To-Repeat:
Recompile the program above.
I'm not 100% sure my source is legal, so maybe the
category should be "ice-on-illegal-code".
>Fix:
Please
>Release-Note:
>Audit-Trail:
>Unformatted: