Re: [eigen] Passing result of block() as non-const reference-to-matrix?

[ Thread Index | Date Index | More Archives ]

2010/7/9 Gael Guennebaud <gael.guennebaud@xxxxxxxxx>:
> On Fri, Jul 9, 2010 at 7:03 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>>> It's a pity that there is no clean solution that is portable to pre-C++0x. I still don't quite get that it does work as expected when I pass a const Block to a const Matrix & -- it is not clear for me why that /does/ work.
>> That does /not/ work :-)
> that does work ;) The block expression will be evaluated into a
> temporary Matrix object. (unless the Matrix<> type is templated as
> well but this is not the case in his example)

oooh ok :)

> gael

Mail converted by MHonArc 2.6.19+