Compiling MTL with Visual Studio 7.1

"Adelle Hartley" <[email protected]> Thu, 8 Sep 2005 03:21:19 +1000
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
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/