www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/05/18:48:44

To: djgpp AT delorie DOT com
Date: Sun, 05 Apr 1998 15:46:26 -0700
From: "Sed Johnson" <oplop AT mailexcite DOT com>
Message-ID: <MOONINGLNEGKAAAA@mailexcite.com>
Mime-Version: 1.0
Subject: Re: Does anyone know why...
Organization: MailExcite (http://www.mailexcite.com:80)

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019