Mail Archives: djgpp/1997/05/17/20:49:07
daniel k rathjens wrote:
> you need to specify a type that the function is going to return.
> template <class T>
> void myclass<T>::myclass(T tinf)
> ^^^^
> like that
Not specifying a return type is perfectly standard C and C++ -- it
defaults to a return type of int.
Without more information, such as what the compiler errors were (which may
well have been in the original message; it hasn't shown up here yet) it's
a little hard to help further.
--
Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"The future / is right there."
/ Bill Moyers
rum for this question would have
been comp.lang.c, as this (as you had already known) is purely a C
question and is not specific to DJGPP.
--
Erik Max Francis, &tSftDotIotE / email / max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"The future / is right there."
/ Bill Moyers
- Raw text -