aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/IntegralConstant.h
diff options
context:
space:
mode:
authorGravatar Steve Bronder <stevo15025@gmail.com>2021-05-21 16:25:32 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2021-05-21 16:25:32 +0000
commit17200570239f23b2f0d3b434bc0269c46c409791 (patch)
tree84c6577a41b079f10d1e9e7919090fa5ebe3ed67 /Eigen/src/Core/util/IntegralConstant.h
parent391094c50743f28f9174f455661f650bf07e0177 (diff)
Adds macro for checking if C++14 variable templates are supported
Diffstat (limited to 'Eigen/src/Core/util/IntegralConstant.h')
-rw-r--r--Eigen/src/Core/util/IntegralConstant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/IntegralConstant.h b/Eigen/src/Core/util/IntegralConstant.h
index ef3fdfb94..d457e02ee 100644
--- a/Eigen/src/Core/util/IntegralConstant.h
+++ b/Eigen/src/Core/util/IntegralConstant.h
@@ -184,7 +184,7 @@ template<int N, int DynamicKey> struct cleanup_index_type<std::integral_constant
#ifndef EIGEN_PARSED_BY_DOXYGEN
-#if EIGEN_HAS_CXX14
+#if EIGEN_HAS_CXX14_VARIABLE_TEMPLATES
template<int N>
static const internal::FixedInt<N> fix{};
#else