|[eigen] MatrixBase::swap -- why const?|
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
I'm struggling to understand template<typename OtherDerived/*, int OtherMode*/> void swap(const MatrixBase<OtherDerived>& other) Why is "other" a const reference? It is modified by the call, no? This seems like a violation of interface contract.
|Mail converted by MHonArc 2.6.19+||http://listengine.tuxfamily.org/|