diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-08-16 14:22:02 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-08-16 14:22:02 +0200 |
commit | dc2c103b3b92b9b7ae9218b123d22438426a38aa (patch) | |
tree | efd9f390af04bc61280194f26a4bf7e3efdce121 /Eigen/src/Core/util/Macros.h | |
parent | 23aab82c0ccc0b605467095a8c6565894d27abdf (diff) | |
parent | d6a4805fdf6ef4cb13c05c218006cda32a8c857a (diff) |
merge
Diffstat (limited to 'Eigen/src/Core/util/Macros.h')
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 9 |
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: |