Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-02-22 07:41:54


to create the equivalent of the, now obsolete, const_matrix_row_type, I now
create a numerics::row< const Matrix >. But using its operator()(int i), a
get an error of assinging a const double to a double&. AFAICT, this is
because the row< const Matrix >::reference takes reference of the template
argument which ends up being a Matrix::reference. Should'nt a traits class
handle the `const Matrix` argument and make the reference const ?


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