Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2006-08-23 03:36:38


On Wednesday 23 August 2006 04:17, Suneel Suresh wrote:
> typedef matrix<T> Matrix;
> typedef matrix_row<Matrix> Matrix_Row;
> typedef matrix_column<Matrix> Matrix_Col;
> // this line below wont compile
> typename Matrix_Row::const_iterator ri_ite;                             

Unfortunately I don't have access to msvc 2005. Here I give some more things
to try

check whether BOOST_UBLAS_MSVC_NESTED_CLASS_RELATION is defined or not
check whether BOOST_UBLAS_USE_INDEXED_ITERATOR is defined or not

check if the line 260 in matrix_proxy.hpp looks like this:

  const_iterator (const typename self_type::iterator &it):
    // ISSUE self_type:: stops VC8 using std::iterator here
    container_const_reference<self_type> (it ()), it_ (it.it_) {}

(try if self_type is necessary or not)

mfg
Gunter