summaryrefslogtreecommitdiff
path: root/boost/container/detail/workaround.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/container/detail/workaround.hpp')
-rw-r--r--boost/container/detail/workaround.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/boost/container/detail/workaround.hpp b/boost/container/detail/workaround.hpp
index 4e49c0a04c..83aacef604 100644
--- a/boost/container/detail/workaround.hpp
+++ b/boost/container/detail/workaround.hpp
@@ -121,9 +121,13 @@
#if (__cplusplus >= 201703L)
-//CTAD supported
+ //CTAD supported
+ #ifdef __INTEL_COMPILER
+ //Intel compilers do not offer this feature yet
+ #define BOOST_CONTAINER_NO_CXX17_CTAD
+ #endif
#else
-#define BOOST_CONTAINER_NO_CXX17_CTAD
+ #define BOOST_CONTAINER_NO_CXX17_CTAD
#endif
#endif //#ifndef BOOST_CONTAINER_DETAIL_WORKAROUND_HPP