eigen/unsupported/Eigen
Lingzhu Xiang 47eac21072 Make fixed-size Matrix and Array trivially copyable after C++20
Making them trivially copyable allows using std::memcpy() without undefined
behaviors.

Only Matrix and Array with trivially copyable DenseStorage are marked as
trivially copyable with an additional type trait.

As described in http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0848r3.html
it requires extremely verbose SFINAE to make the special member functions of
fixed-size Matrix and Array trivial, unless C++20 concepts are available to
simplify the selection of trivial special member functions given template
parameters. Therefore only make this feature available to compilers that support
C++20 P0848R3.

Fix #1855.
2022-01-07 19:04:35 +00:00
..
CXX11 Make fixed-size Matrix and Array trivially copyable after C++20 2022-01-07 19:04:35 +00:00
src turn some macros intro constexpr functions 2021-12-10 19:27:01 +00:00
AdolcForward Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
AlignedVector3 Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
ArpackSupport Remove vim specific comments to recognoize correct file-type. 2021-02-09 09:13:09 +01:00
AutoDiff Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
BVH bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
CMakeLists.txt merge EulerAngles module 2016-08-30 10:01:53 +02:00
EulerAngles bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
FFT Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
IterativeSolvers Idrsstabl 2021-12-06 20:00:00 +00:00
KroneckerProduct Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
LevenbergMarquardt Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
MatrixFunctions Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
MoreVectorization bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
MPRealSupport Fix MPrealSupport 2018-09-20 18:30:10 +02:00
NonLinearOptimization Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
NumericalDiff Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
OpenGLSupport Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
Polynomials Remove vim specific comments to recognoize correct file-type. 2021-02-09 09:13:09 +01:00
Skyline bug #1596: fix inclusion of Eigen's header within unsupported modules. 2018-09-17 09:54:29 +02:00
SparseExtra Matrixmarket extension 2021-09-02 17:23:33 +00:00
SpecialFunctions Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
Splines Fix numerous shadow-warnings for GCC<=4.8 2018-08-28 18:32:39 +02:00