Original Post
Hello,
I'll get straight to it and describe my problem.
I have a template class, which has, as one of its members, a second class (i.e. defined within the class).
Now one of my member functions for the template class neeeds to return a pointer to the 'second class' type, like this:
template <class MYDATA> SecondClass *FirstClass::Function(){...}
(all that should be on one line)
When i complile i get errors about
'expected ; after *'.
What am I doing wrong?
--
Thanks in advance....
Fiwl.
[Edit: Type "< for your opening angular brackets with includes and templates outside of source boxes.]
[edited by - Oluseyi on April 14, 2002 4:54:13 PM]