🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #1103

Re: templates????

#1103
From: Mike Stump
Date: Fri, 06 Nov 1992 08:58
34 lines
1517 bytes
Reports should contain actual code samples of things that don't work,
to be most effective.

Talking about code I can only guess at doesn't help me find or fix
bugs usually.

Yes, template for the most part work.  You might have been running
into static data members of templated classes problem.  I believe that
combination is still unimplemented.  A test case and I could have told
you for sure.

> Message-Id: <9207312139.AA20069@media-lab.mit.edu>
> To: bug-gcc@prep.ai.mit.edu
> Cc: cwren@media-lab.media.mit.edu
> Date: Fri, 31 Jul 92 17:39:14 -0400
> From: cwren@media-lab.media.mit.edu

> array.h:160: sorry, not implemented: non-function templates not yet supported

> trying to implement a clu-esque array as a excercise like so:

> array.h:
> template <class T> class array {
>   // rep
>  public:
>   // signals
>   // procs
> } //line 160;

> Am I hazing the compiler is some unique way - or are templates really
> unsupported?

> if they're unsupported, is there a release date for a version that does
> support them?
Technical Details
Message-ID: <9211060858.AA02647@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sdd.hp.com!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrs

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sdd.hp.com!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!mrs
From: mrs@cygnus.com (Mike Stump)
Subject: Re:  templates????
Message-ID: <9211060858.AA02647@cygnus.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 6 Nov 1992 08:58:39 GMT
Approved: bug-g++@prep.ai.mit.edu
Lines: 35