Arkady
Arkady

Reputation: 2207

Different STL versions?

I have to use library, where one of exported classes has this lines:

template<_Ty>
class ExportedClass
{
    typedef typename std::list<_Ty> stlContainer; 
    typedef typename stlContainer::_Tptr _Tptr; 
//many other stuff
};

And because std::list don't have parameter _Tptr, I receive many compiler errors. It looks like there have to exist somewhere (maybe old one?) STL version with list that will have such parameter. But I can't find it.

Do you know that STL version? Or maye problem is somewhere else? Headers also are looking for _Ctptr in list that is not there too.

RESOLVE: It was MSVC 2008. It looks like Microsoft STL up to 2008 was with _Tptr and other strange parameters.

Upvotes: 1

Views: 972

Answers (2)

Wojtek Surowka
Wojtek Surowka

Reputation: 20993

This is STL implementation in Visual C++ 6.0.

Upvotes: 1

Drew Dormann
Drew Dormann

Reputation: 63775

I found reference to the version of Visual Studio that used _Tptr.

Visual C++ 6.0.

I'm so very sorry.

Upvotes: 2

Related Questions