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

@@ -39,16 +39,6 @@
#include <iterator>
#include <numeric>
#include <random>
// C++20 libstdc++'s headers have non-parenthesized calls to max() and min().
#if EIGEN_COMP_HAS_P0848R3
#ifdef max
#undef max
#endif
#ifdef min
#undef min
#endif
#endif
#include <thread>
#if defined(EIGEN_USE_THREADS) || defined(EIGEN_USE_SYCL)

View File

@@ -39,7 +39,9 @@
#include <condition_variable>
#include <deque>
#include <mutex>
#include <thread>
#include <functional>
#include <memory>
#include <utility>
// There are non-parenthesized calls to "max" in the <unordered_map> header,
@@ -51,15 +53,6 @@
#endif
#include <unordered_map>
// C++20 libstdc++'s headers also calls "max" and "min" indirectly.
#if EIGEN_COMP_HAS_P0848R3
#ifdef min
#undef min
#endif
#endif
#include <thread>
#include <memory>
#include "src/util/CXX11Meta.h"
#include "src/util/MaxSizeVector.h"