aboutsummaryrefslogtreecommitdiff
path: root/Eigen/src/StlSupport/StdVector.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/StlSupport/StdVector.h')
-rw-r--r--Eigen/src/StlSupport/StdVector.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/src/StlSupport/StdVector.h b/Eigen/src/StlSupport/StdVector.h
index 611664a2e..ec22821d2 100644
--- a/Eigen/src/StlSupport/StdVector.h
+++ b/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