On Thu, 28 Mar 2002, Nandika Mirihana wrote:

> 
> Hello kevin,
> 
>  I would like to take a good understand on aspell Code . I have just
> compiled aspell code on VC++ . It gave lot of compiler issues. Could you pls
> give some idea about this code, 
> 
> 
> template <typename T> 
>   struct CharReplTypes : public T::Base {
>     typedef T                          Types;
>     typedef typename T::Base       Base; // <-- error C2086: 'Base' :
> redefinition
>     typedef typename T::Itr            Itr;
>     typedef typename T::InValue    InValue;
>     typedef typename T::Value      Value;
>     typedef typename T::ItrRoot     ItrRoot;
>     typedef typename T::Buffer      Buffer;
>     typedef typename T::SingleMulti SingleMulti;
>   }; 
>       
> 
> --->Why did you put  "typedef typename T::Base   "    Base; again ?

because T:Base does not equal Base despite what VC++ is telling you.

> 
> 
> Thanks & Best regards,
> -Nandika
> 
> 
> 
> _______________________________________________
> Aspell-devel mailing list
> [EMAIL PROTECTED]
> http://mail.freesoftware.fsf.org/mailman/listinfo/aspell-devel
> 

-- 
http://kevin.atkinson.dhs.org


_______________________________________________
Aspell-devel mailing list
[EMAIL PROTECTED]
http://mail.freesoftware.fsf.org/mailman/listinfo/aspell-devel

Reply via email to