diff --git a/include/boost/config/compiler/clang.hpp b/include/boost/config/compiler/clang.hpp index 96235394..7e0a7044 100644 --- a/include/boost/config/compiler/clang.hpp +++ b/include/boost/config/compiler/clang.hpp @@ -291,7 +291,7 @@ # define BOOST_NO_CXX14_CONSTEXPR #endif -#if !__has_feature(__cxx_return_type_deduction__) +#if !__has_feature(__cxx_return_type_deduction__) || (__clang_major__ < 4) # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION #endif