🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1216

Templates in NeXT's C++ (3.0)

#1216
From: Ernest Prabhakar
Date: Tue, 18 Aug 1992 22:12
19 lines
1405 bytes
Hello,
I am trying to use C++ templates on the NEXT (beta-PR2), which implies  
something like GCC version 1.96, I believe.  I've scoured the GNU  
documentation, but I've found very little information about their C++  
implementation.  Am I looking in the wrong place?

Apparently GCC 2.2.2 does support templates (in some fashion), but for the life  
of me I cannot get NeXT's c++ to do so.  Is this in fact possible?  How much  
ObjC functionality from 3.0 (protocols?) would I lose if I replaced my compiler  
with GCC 2.2.2?  Thanks,

- Ernie P.

--
Ernest N. Prabhakar                  Caltech High Energy Physics
Member, League for Programming Freedom (league@prep.ai.mit.edu)
CaJUN President        NeXTMail:ernest@pundit.cithep.caltech.edu
"...and ourselves, your servants for Jesus sake." - II Cor 4:5b
#import <std/disclaimer.h>
Technical Details
Message-ID: <1992Aug18.221200.4557@cco.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!swrinde!sdd.hp.com!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!swrinde!sdd.hp.com!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!news
From: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
Newsgroups: comp.sys.next.programmer
Subject: Templates in NeXT's C++ (3.0)
Message-ID: <1992Aug18.221200.4557@cco.caltech.edu>
Date: 18 Aug 92 22:12:00 GMT
Sender: news@cco.caltech.edu
Reply-To: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
Organization: California Institute of Technology, Pasadena
Lines: 19
Nntp-Posting-Host: pundit.cithep.caltech.edu