mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
make fixed-size objects trivially move assignable
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
7fd305ecae
commit
bb73be8a2e
@@ -138,6 +138,8 @@ class MatrixBase : public DenseBase<Derived> {
|
||||
*/
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator=(const MatrixBase& other);
|
||||
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE constexpr MatrixBase& operator=(MatrixBase&&) = default;
|
||||
|
||||
// We cannot inherit here via Base::operator= since it is causing
|
||||
// trouble with MSVC.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user