This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/3398: "using" with member-function template



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]