eigen/unsupported/Eigen/CXX11
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
..
src turn some macros intro constexpr functions 2021-12-10 19:27:01 +00:00
CMakeLists.txt bug #1167: simplify installation of header files using cmake's install(DIRECTORY ...) command. 2016-08-29 10:59:37 +02:00
Tensor Make fixed-size Matrix and Array trivially copyable after C++20 2022-01-07 19:04:35 +00:00
TensorSymmetry Issue an error in case of direct inclusion of internal headers. 2021-09-10 19:12:26 +00:00
ThreadPool Make fixed-size Matrix and Array trivially copyable after C++20 2022-01-07 19:04:35 +00:00