From ba2cb835aa5d04d70bb3011c7754e29022e18a15 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Thu, 31 Mar 2022 15:08:01 -0700 Subject: [PATCH] Add back std::remove* aliases - third-party libraries rely on these. --- Eigen/src/Core/util/Meta.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index cbfb92ec2..8d5c2c3ee 100755 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -90,6 +90,12 @@ struct bool_constant : true_type {}; template<> struct bool_constant : false_type {}; +// Third-party libraries rely on these. +using std::conditional; +using std::remove_reference; +using std::remove_pointer; +using std::remove_const; + template struct remove_all { typedef T type; }; template struct remove_all { typedef typename remove_all::type type; }; template struct remove_all { typedef typename remove_all::type type; };