Revert "Make fixed-size Matrix and Array trivially copyable after C++20"

This reverts commit 47eac21072
This commit is contained in:
Antonio Sánchez
2022-02-05 04:40:29 +00:00
parent 979fdd58a4
commit 9441d94dcc
11 changed files with 2 additions and 127 deletions

View File

@@ -275,11 +275,6 @@ template<typename Derived> class DenseBase
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
Derived& operator=(const DenseBase& other);
#if EIGEN_COMP_HAS_P0848R3
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE DenseBase& operator=(
const DenseBase& other) requires internal::has_trivially_copyable_storage<Derived>::value = default;
#endif
template<typename OtherDerived>
EIGEN_DEVICE_FUNC
Derived& operator=(const EigenBase<OtherDerived> &other);