std::reverse_iterator in Sun C++

Hi,

I'm having trouble compling the following code in Sun C++ (under sun studio 10). I found that it is issue with libCstd library. It can be resolved if i used stdport lib. However, i have no choice but to use libCstd. Does anyone know what can be done to resolve the issue? :confused:

Thanks,

/////////////////////////////////////////
Here is the code:
/////////////////////////////////////////

template< class _Ty >
class VectorMe
{
typedef _Ty* _pTy;
typedef std::vector< _pTy > Vector;
typedef typename Vector::iterator iterator;

typedef   std::reverse_iterator&lt;iterator&gt;    reverse_iterator;  //problem with this line when complied under Solaris

...
//main body
...

/////////////////////////////////////////
Here is the error message:
/////////////////////////////////////////

Too few arguments for template std::reverse_iterator<std::vector<_Ty*>::iterator>