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:
@@ -42,11 +42,6 @@ template<typename T> struct evaluator_traits;
|
||||
|
||||
template< typename T> struct evaluator;
|
||||
|
||||
template<typename T> struct has_trivially_copyable_storage
|
||||
{
|
||||
static const bool value = false;
|
||||
};
|
||||
|
||||
} // end namespace internal
|
||||
|
||||
template<typename T> struct NumTraits;
|
||||
|
||||
@@ -1059,16 +1059,6 @@ namespace Eigen {
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \internal
|
||||
* \brief Macro for conditionally trivial special member functions for supporting trivially copyable types.
|
||||
* This feature is officially known as C++20's P0848R3 and is enabled on supported compilers.
|
||||
*/
|
||||
#if (EIGEN_COMP_CXXVER >= 20) && (EIGEN_COMP_GNUC_STRICT || EIGEN_COMP_MSVC_STRICT)
|
||||
#define EIGEN_COMP_HAS_P0848R3 1
|
||||
#else
|
||||
#define EIGEN_COMP_HAS_P0848R3 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \internal
|
||||
|
||||
Reference in New Issue
Block a user