From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2005-01-06 10:11:46
Dominique Marcadet wrote:
>>>I am using ublas::indirect_array <ublas::vector <size_t> > (for use with matrix_indirect) in a project.
>>>It works with Boost 1.31.0, but not with Boost 1.32.0 because const_pointer is no more defined in ublas::vector (and pointer is privately defined).
>>I just tried to create the above and it works on the CVS HEAD. Could you provide a test-case that fails ?
> Here is one :
> % cat test_indirect_array.cpp
> #include <boost/numeric/ublas/vector.hpp>
> using namespace boost::numeric::ublas;
> int main()
> indirect_array <vector <size_t> > vi( 10 );
OK. This is exactly the small test-case I tried on the cvs head and
which works. However I nevertheless would suggest to use an
unbounded_array as storage (otherwise the vector will use the
unbounded_array and thus using a vector just adds an extra indirection).