From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: template classes with DJGPP Date: 7 Aug 1997 07:01:21 GMT Organization: The National Capital FreeNet Lines: 24 Message-ID: <5sbrs1$k88@freenet-news.carleton.ca> References: <01bca10d$bb446600$0100a8c0 AT stefan DOT schimanski> <5s768v$n84$1 AT horus DOT mch DOT sni DOT de> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet3.carleton.ca To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Makulik.Guenther T 27528 R 91-811 WS tx24 (makulik AT tf16 DOT mch DOT sni DOT de) writes: > May be, I didn't try for myself. The problem could be either that you omitted > the #pragma interface directive, or that you have to declare you implementations > as inline explicitely. > Try to write the implementation code inside the class definition. > > BTW why are you defining a container class (if not for study purposes), use STL > components. These will be much more reliable than your own implementations and > provide a lot of standard container types. > I've not got it on my hand now, but if you're interested I can mail you where > to find good documentation on STL on request. The headers and implementations are > already part of the DJGPP standard C++ environment. Because libg++ is under the Library General Public Virus, and that makes distributing the thing a real headache. (First you have to read the Virus. Then pop a Tylenol. Then figure out what it means in terms of obligations. Then pop three Tylenol. Then actually distribute the thing, adhering to the Virus. Then pop a Motrin.) -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh