When I specify the following:
matrix<double>::iterator1 it;
it++;
I get: (sorry for the paste of the complete error, I can't figure out
what is really relevant; ++it works however)
============================================================
c:\program files\boost\boost\numeric\ublas\iterator.hpp(324) : error
C2059: syntax error : 'static_cast'
S:\test\ublas\ublas.cpp(30) : see reference to function
template instantiation 'class
boost::numeric::ublas::matrix::iterator1 __cdecl
boos
t::numeric::ublas::operator ++(struct
boost::numeric::ublas::random_access_iterator_base::iterator1,double,int>
&,int)' being compiled
c:\program files\boost\boost\numeric\ublas\iterator.hpp(325) : error
C2664: '__thiscall boost::numeric::ublas::matrix
::iterator1::boost::numeric::u
blas::matrix::iterator1(const
class boost::numeric::ublas::matrix::iterator1 &)' : cannot convert parameter 1
from 'class boost::numeric::ublas::matrix::iterator1 &(void)'
to 'const class boos
t::numeric::ublas::matrix::iterator1 &'
Context does not allow for disambiguation of overloaded
function
S:\test\ublas\ublas.cpp(30) : see reference to function
template instantiation 'class
boost::numeric::ublas::matrix::iterator1 __cdecl
boos
t::numeric::ublas::operator ++(struct
boost::numeric::ublas::random_access_iterator_base::iterator1,double,int>
&,int)' being compiled
c:\program files\boost\boost\numeric\ublas\iterator.hpp(326) : error
C2563: mismatch in formal parameter list
S:\test\ublas\ublas.cpp(30) : see reference to function
template instantiation 'class
boost::numeric::ublas::matrix::iterator1 __cdecl
boos
t::numeric::ublas::operator ++(struct
boost::numeric::ublas::random_access_iterator_base::iterator1,double,int>
&,int)' being compiled
Error executing cl.exe.
============================================================