c++/3424: One templatized nested class deriving from another
mps@sonartech.com.au
mps@sonartech.com.au
Tue Jun 26 04:56:00 GMT 2001
>Number: 3424
>Category: c++
>Synopsis: One templatized nested class deriving from another
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Tue Jun 26 04:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Michael Shepanski
>Release: 2.95.2 19991024 (release). Also current CodeSourcery online tester.
>Organization:
>Environment:
Linux/Pentium
>Description:
class C {
template <typename T> class A {};
template <typename T> class B : public C::A {};
};
>How-To-Repeat:
gcc tmp.cpp
>Fix:
If you find it interesting.
Meanwhile it's easy enough to work around.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list