diff options
Diffstat (limited to 'eigen/Eigen/src/StlSupport/StdVector.h')
-rw-r--r-- | eigen/Eigen/src/StlSupport/StdVector.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eigen/Eigen/src/StlSupport/StdVector.h b/eigen/Eigen/src/StlSupport/StdVector.h index 611664a..ec22821 100644 --- a/eigen/Eigen/src/StlSupport/StdVector.h +++ b/eigen/Eigen/src/StlSupport/StdVector.h @@ -44,6 +44,9 @@ namespace std \ }; \ } +// Don't specialize if containers are implemented according to C++11 +#if !EIGEN_HAS_CXX11_CONTAINERS + namespace std { #define EIGEN_STD_VECTOR_SPECIALIZATION_BODY \ @@ -122,5 +125,7 @@ namespace std { #endif }; } +#endif // !EIGEN_HAS_CXX11_CONTAINERS + #endif // EIGEN_STDVECTOR_H |