Re: [eigen] Interesting C++ standard proposal

[ Thread Index | Date Index | More 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.


Mail converted by MHonArc 2.6.19+