Re: [eigen] rvalue refs - std::swap |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
6) v.resize(10); v.transpose().swap(m.row(2)) or v.resize(10); v.transpose().swap(m.row(2));
- calls Matrix::swap(MatrixBase<OtherDerived> && other) -> MatrixBase::swap(MatrixBase const & other)
- as before, calls MatrixBase::swap due to ei_matrix_swap_impl selection (rhs is not a Matrix)
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |