diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-08-14 16:09:48 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-08-14 16:09:48 +0200 |
commit | 712e2fed1705746847d1cbdce01094eb42a45139 (patch) | |
tree | c127dd4f56c23afc091331c1adc82b748735e2ec /Eigen/src/StlSupport/StdList.h | |
parent | a5d1bb2be8340e446d6f8ce24e0b1a8987e9be95 (diff) |
bug #829: Introduce macro EIGEN_HAS_CXX11_CONTAINERS and do not specialize std-containers if it is enabled.
Diffstat (limited to 'Eigen/src/StlSupport/StdList.h')
-rw-r--r-- | Eigen/src/StlSupport/StdList.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/StlSupport/StdList.h b/Eigen/src/StlSupport/StdList.h index 265b46f8e..7412b50aa 100644 --- a/Eigen/src/StlSupport/StdList.h +++ b/Eigen/src/StlSupport/StdList.h @@ -51,8 +51,8 @@ namespace std \ }; \ } -// check whether we really need the std::vector specialization -#if !(defined(_GLIBCXX_VECTOR) && (!EIGEN_GNUC_AT_LEAST(4,1))) /* Note that before gcc-4.1 we already have: std::list::resize(size_type,const T&). */ +// check whether we really need the std::list specialization +#if !EIGEN_HAS_CXX11_CONTAINERS && !(defined(_GLIBCXX_LIST) && (!EIGEN_GNUC_AT_LEAST(4,1))) /* Note that before gcc-4.1 we already have: std::list::resize(size_type,const T&). */ namespace std { |