remove EIGEN_REF_TO_TEMPORARY, clarify docs

This commit is contained in:
Benoit Jacob
2010-12-25 16:45:25 -05:00
parent 75b7d98665
commit 86d3711fb7
7 changed files with 12 additions and 19 deletions

View File

@@ -323,7 +323,7 @@ class Matrix
* of same type it is enough to swap the data pointers.
*/
template<typename OtherDerived>
void swap(MatrixBase<OtherDerived> EIGEN_REF_TO_TEMPORARY other)
void swap(MatrixBase<OtherDerived> const & other)
{ this->_swap(other.derived()); }
inline Index innerStride() const { return 1; }