Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-04-02 04:51:03


again a traits/partial spec. problem AFAICT.
Following code does not work with the current snapshot of ublas :

const matrix< double > a( 8, 8 );
numerics::matrix_row< const matrix< double > > r = numerics::row(a, 2 );
double d = r(2) ;

the ()-operator on the const matrix_row will return an M::reference which
should be in this case an M::const_reference !?

(compiled with gcc303)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk