This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1522: template inheritage
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1522: template inheritage
- From: korimort at opt dot math dot tu-graz dot ac dot at
- Date: 28 Dec 2000 10:31:46 -0000
- Reply-To: korimort at opt dot math dot tu-graz dot ac dot at
>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: