From: nospam_jamey AT roanoke DOT infi DOT net (Jamey) Newsgroups: comp.os.msdos.djgpp Subject: Re: templates in DJGPP Date: Tue, 26 Aug 1997 01:23:55 GMT Organization: InfiNet Lines: 26 Message-ID: <34022fda.8672850@news.roanoke.infi.net> References: <3400DF67 DOT 3545 AT student DOT uq DOT edu DOT au> NNTP-Posting-Host: pm4-171.roanoke.infi.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Please ignore my ignorance in the previous post. I compiled your example without error. On Mon, 25 Aug 1997 11:27:03 +1000, gyroscope wrote: >At the risk of looking foolish, I am wondering what *exactly* is the >syntax for implementing templates in DJGPP. I tried this code snippet >from Stroustrup's 'C++ Programming Language' and it gives me a parse >error before < : > >template >class stack { > T* v; > etc. >}; > >(i read info and it brought up only how the compiler deals w/ templates) > >-Tobias >----------------------------------------------------------------------- >"...and the enemy cried with frustration as they read the message..." > - the book of delaying tactics. >-----------------------------------------------------------------------