c++/3398: "using" with member-function template
mps@sonartech.com.au
mps@sonartech.com.au
Mon Jun 25 01:46:00 GMT 2001
>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:
More information about the Gcc-bugs
mailing list