|
Boost : |
From: Joerg Walter (jhr.walter_at_[hidden])
Date: 2002-04-04 03:12:04
Hi Toon,
you wrote:
> 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 );
May be,
const numerics::matrix_row< const matrix< double > > r = numerics::row(a,
2 );
could work? I'll check this later.
> 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)
Best regards
Joerg
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk