Mail Archives: djgpp/1998/04/05/18:48:44
Sed Johnson wrote:
>> ...
>> template <class T> class Node
>> {
>> friend Iter<T>;
>> friend List<T>;
>> private:
>> .....
>>
>> Iter and List are classes which are described
>> after this class.
>>
>> Here are some errors I get:
>> ...
Erik Max Francis wrote:
>What you meant was:
>
> friend class Iter<T>;
> friend class List<T>;
>
Ok, now I get the errors:
- parse error before `<' (corresponds to class Iter)
- parse error before `<' (corresponds to class List)
any ideas why this is? Thank you :)
Free web-based email, Forever, From anywhere!
http://www.mailexcite.com
- Raw text -