|
Boost Users : |
From: speedsnaii
Date: 2003-02-19 09:06:15
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.
============================================================
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net