
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<double,struct boost::numeric::ublas::row_major,class boost::numeric::ublas::unbounded_array<double> >::iterator1 __cdecl boos t::numeric::ublas::operator ++(struct boost::numeric::ublas::random_access_iterator_base<struct boost::numeric::ublas::dense_random_access_iterator_tag,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::row_major,class boost::n umeric::ublas::unbounded_array<double> >::iterator1,double,int> &,int)' being compiled c:\program files\boost\boost\numeric\ublas\iterator.hpp(325) : error C2664: '__thiscall boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::row_major,class boost::numeric::ublas::unbounded_array<double>
::iterator1::boost::numeric::u blas::matrix<double,struct boost::numeric::ublas::row_major,class boost::numeric::ublas::unbounded_array<double> >::iterator1(const class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::row_major,class boost::numeric::ublas::unbou nded_array<double> >::iterator1 &)' : cannot convert parameter 1 from 'class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::row_major,class boost::numeric::ublas::unbounded_array<double> >::iterator1 &(void)' to 'const class boos t::numeric::ublas::matrix<double,struct boost::numeric::ublas::row_major,class boost::numeric::ublas::unbounded_array<double> >::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<double,struct boost::numeric::ublas::row_major,class boost::numeric::ublas::unbounded_array<double> >::iterator1 __cdecl boos t::numeric::ublas::operator ++(struct boost::numeric::ublas::random_access_iterator_base<struct boost::numeric::ublas::dense_random_access_iterator_tag,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::row_major,class boost::n umeric::ublas::unbounded_array<double> >::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<double,struct boost::numeric::ublas::row_major,class boost::numeric::ublas::unbounded_array<double> >::iterator1 __cdecl boos t::numeric::ublas::operator ++(struct boost::numeric::ublas::random_access_iterator_base<struct boost::numeric::ublas::dense_random_access_iterator_tag,class boost::numeric::ublas::matrix<double,struct boost::numeric::ublas::row_major,class boost::n umeric::ublas::unbounded_array<double> >::iterator1,double,int> &,int)' being compiled Error executing cl.exe. ============================================================

Hi Roland, you wrote:
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)
[snip the usual incomprehensible diagnostics] Yep. This probably is a bug. Could someone try to verify this with the CVS version, please? I'm currently rather busy preparing first patches for MSVC 7.1 beta. Thanks Joerg

Hi Roland,
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)
[snip the usual incomprehensible diagnostics]
Yep. This probably is a bug. Could someone try to verify this with the CVS version, please? I'm currently rather busy preparing first patches for MSVC 7.1 beta.
Confirmed to be a regression. Should be fixed in CVS soon. For more information see groups.yahoo.com/group/ublas-dev Thanks, Joerg
participants (2)
-
jhr.walter@t-online.de
-
speedsnaii <speedsnaii@yahoo.de>