Another possible C++ v.5.1 template bug.

From: Tonny Madsen <Tonny.Madsen_at_netman.dk>
Date: Thu, 2 Nov 1995 13:59:49 +0100 (MET)

Hi'

[I know this isn't a C++ mailing list, but I don't know any email
address' to Digital's C++ group.]

The following fragment of C++ code generates a bugcheck message.

--------------------------------------------------
template <class aType>
class C
{
public:
  typedef aType subclass;
};


template <class aType>
class F {
public:
  typedef c<aType>::subclass cs2; // <--- offending line
};
--------------------------------------------------

If the offending line is changed to any of the following the
compilation succeedes:

  typedef C<aType>::subclass cs2;
  typedef c<aType> cs2;


-- tonny
Received on Thu Nov 02 1995 - 14:49:51 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT