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++/1522: template inheritage



>Number:         1522
>Category:       c++
>Synopsis:       template inheritage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 28 02:36:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Korimort
>Release:        2.95.2
>Organization:
>Environment:
Debian 2.2 (Potato)
>Description:
One can construct template objects of kind
"template <class T> dummy:basedummy<T>", but if one tries to
cast a dummy<whatever> pointer to a basedummy<whatever>
pointer ("whatever" an instantiation of the template), the
compiler does not recognize basedummy<whatever> to be a base
class of dummy<whatever>.
>How-To-Repeat:

>Fix:

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