From 96ac837d4725b69724b939418f5eb6f0c8e52d3d Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Sun, 23 Dec 2018 22:10:22 +0100 Subject: [PATCH] Workaround: Intel compilers do not offer CTAD yet. --- include/boost/container/detail/workaround.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/boost/container/detail/workaround.hpp b/include/boost/container/detail/workaround.hpp index 4e49c0a..83aacef 100644 --- a/include/boost/container/detail/workaround.hpp +++ b/include/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