Re: [eigen] Interesting C++ standard proposal

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


auto a = A.block(...);
does the user want a copy of the submatrix or a lightweight view?
Actually, an even more trivial example would be this:
auto B = A; // is B a reference or a copy?

Isn't auto& always needed in order to get a reference to a C++ or STL object? It would be surprising if eigen behaved differently.

Ilja



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/