diff options
author | 2017-09-14 19:26:03 +0200 | |
---|---|---|
committer | 2017-09-14 19:26:03 +0200 | |
commit | 23f8b00bc884fe94e94ea273538e5546a4160e4f (patch) | |
tree | ede4ca979a1200b2f8bd0eac52a5ee6a0a42cc5e /Eigen/src/Core/util/Macros.h | |
parent | 0c9ad2f52526bd7f07ba41161e68bee7231c05c7 (diff) |
clang provides __has_feature(is_enum) (but not <type_traits>) in C++03 mode
Diffstat (limited to 'Eigen/src/Core/util/Macros.h')
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index caedb0b3a..f5b071a9c 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -412,7 +412,7 @@ // Does the compiler support type_trais? #ifndef EIGEN_HAS_TYPE_TRAITS -#if EIGEN_MAX_CPP_VER>=11 && (EIGEN_HAS_CXX11 || __has_feature(is_enum) || EIGEN_COMP_MSVC >= 1700) +#if EIGEN_MAX_CPP_VER>=11 && (EIGEN_HAS_CXX11 || EIGEN_COMP_MSVC >= 1700) #define EIGEN_HAS_TYPE_TRAITS 1 #define EIGEN_INCLUDE_TYPE_TRAITS #else |