mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Revert "Make fixed-size Matrix and Array trivially copyable after C++20"
This reverts commit 47eac21072
This commit is contained in:
@@ -140,11 +140,6 @@ template<typename Derived> class MatrixBase
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
||||
Derived& operator=(const MatrixBase& other);
|
||||
|
||||
#if EIGEN_COMP_HAS_P0848R3
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixBase& operator=(
|
||||
const MatrixBase& other) requires internal::has_trivially_copyable_storage<Derived>::value = default;
|
||||
#endif
|
||||
|
||||
// We cannot inherit here via Base::operator= since it is causing
|
||||
// trouble with MSVC.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user