aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Macros.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-08-16 14:22:02 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-08-16 14:22:02 +0200
commitdc2c103b3b92b9b7ae9218b123d22438426a38aa (patch)
treeefd9f390af04bc61280194f26a4bf7e3efdce121 /Eigen/src/Core/util/Macros.h
parent23aab82c0ccc0b605467095a8c6565894d27abdf (diff)
parentd6a4805fdf6ef4cb13c05c218006cda32a8c857a (diff)
merge
Diffstat (limited to 'Eigen/src/Core/util/Macros.h')
-rw-r--r--Eigen/src/Core/util/Macros.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h
index 846209911..f5a216ac9 100644
--- a/Eigen/src/Core/util/Macros.h
+++ b/Eigen/src/Core/util/Macros.h
@@ -370,6 +370,15 @@
#endif
#endif
+// Does the compiler support proper C++11 containers?
+#ifndef EIGEN_HAS_CXX11_CONTAINERS
+ #if ((__cplusplus >= 201103L) && (EIGEN_COMP_GNUC_STRICT || EIGEN_COMP_CLANG)) || EIGEN_COMP_MSVC >= 1900
+ #define EIGEN_HAS_CXX11_CONTAINERS 1
+ #else
+ #define EIGEN_HAS_CXX11_CONTAINERS 0
+ #endif
+#endif
+
/** Allows to disable some optimizations which might affect the accuracy of the result.
* Such optimization are enabled by default, and set EIGEN_FAST_MATH to 0 to disable them.
* They currently include: