Boost logo

Ublas :

Subject: [ublas] indirect_array cast
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2011-03-13 05:03:40


Hello,

I'm using an indirect_array< std::vector<std::size_t> > for creating a
sorted index of a ublas::vector. How can I convert the indirect_array<
std::vector<std::size> > to an indirect_array<> ? A have tried a
static_cast or using the copy-constructor, but that doesn't work. Can
I convert the array without std::copy?

Thanks

Phil