Boost logo

Boost :

From: Craig Henderson (cdm.henderson_at_[hidden])
Date: 2002-10-07 13:49:26

I am trying to use the boost array library with VC7 and STLport-4.5.3.
array.hpp at line 56, reads

#elif defined(BOOST_MSVC) && (BOOST_MSVC == 1300)
// workaround for broken reverse_iterator in VC7
typedef std::reverse_iterator<std::_Ptrit<value_type, difference_type,
                                reference, iterator, reference> >
typedef std::reverse_iterator<std::_Ptrit<value_type, difference_type,
                          const_reference, iterator, reference> >

The errors are as below

array.hpp(58) : error C2039: '_Ptrit' : is not a member of '_STL'
array.hpp(58) : error C2065: '_Ptrit' : undeclared identifier
array.hpp(58) : error C2275: 'boost::array<T,>::value_type' : illegal use of
this type as an expression

It seems that either I am doing something wrong or there is a config problem
here that applies the VC7 STL workaround even when it is using the STLport

Is this a known issue, or can someone tell me what I'm doing wrong?

-- Craig

Boost list run by bdawes at, gregod at, cpdaniel at, john at