From: Nico Galoppo (nico_at_[hidden])
Date: 2007-03-09 11:19:35
Karl Meerbergen wrote:
> matrix_row is an object that can be considered a reference to the row of
> the matrix. I am sure it does not make a copy.
Is it really a reference? I thought it depended on the implementation, e.g.
row-major vs. column-major matrix classes etc.
I agree with Karl though that it probably doesn't return a copy. It is my
understanding that, with expression templates, the actual data access is
deferred to the point where it is actually used. (Unless you explicitly make
-- Nico Galoppo UNC-CH PhD. student http://www.ngaloppo.org +1-919-942-4388