Mail Archives: djgpp/1997/11/13/05:46:40
"Stefan Schimanski" (1Stein AT gmx DOT de) writes:
> I had similar problems with template. I solved them by included the whole
> source code of the template in the header file. Moreover I had to implement
> the constructor in the class declaration like an inline function. When I
> tried to put the body somewhere below it didn't work.
This is normal. Also, you can put the function body south of the class
definition, as you wanted; you just have to use the keyword inline before
both the prototype in the definition and the function body, or the linker
will whine about multiple references.
--
.*. 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
- Raw text -