Re: Compiling MTL with Visual Studio 7.1

Janusz opechowski <[email protected]> Mon, 12 Sep 2005 15:54:23 +0100 (BST)
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
Hi.
Check using typename command :  
typedef typename myclass::mylocaltype mylocaltype;

Be well.
Janusz





--- Adelle Hartley <[email protected]> wrote:

> Hi,
> 
> I am trying to use MTL with MS Visual Studio 7.1,
> and am having some
> difficulties.
> 
> The definition of block_vector includes a number of
> typedefs that are local
> to the class.  The compiler is choking when it sees
> these types qualified by
> block_vector:: within the class definition.
> 
> I may be showing my lack of knowledge re C++ syntax,
> but is there a
> practical difference between
> 
>   class myclass {
>     typedef sometype mylocaltype
>     typedef sometemplate<myclass::mylocaltype>
> myspecialtype
> 
> and
> 
>   class myclass {
>     typedef sometype mylocaltype
>     typedef sometemplate<mylocaltype> myspecialtype
> 
> ?
> 
> 
> Adelle.
> 
> _______________________________________________
> This list is archived at
> http://www.osl.iu.edu/MailArchives/mtl-devel/
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 
_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/