tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Another possible C++ v.5.1 template bug.
@ 1995-11-02 12:59 Tonny Madsen
  0 siblings, 0 replies; only message in thread
From: Tonny Madsen @ 1995-11-02 12:59 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-11-02 12:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-02 12:59 Another possible C++ v.5.1 template bug Tonny Madsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox