From fa7121c0fea09600d62e59003d377e50f25e7eed Mon Sep 17 00:00:00 2001 From: akumta Date: Wed, 23 Nov 2016 08:17:25 -0800 Subject: [PATCH] Update sunpro_cc.hpp define BOOST_NO_CXX14_DECLTYPE_AUTO when C++14 standard is not in action --- include/boost/config/compiler/sunpro_cc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/compiler/sunpro_cc.hpp b/include/boost/config/compiler/sunpro_cc.hpp index 8f07e0e9..ac259fce 100644 --- a/include/boost/config/compiler/sunpro_cc.hpp +++ b/include/boost/config/compiler/sunpro_cc.hpp @@ -152,7 +152,7 @@ #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304) # define BOOST_NO_CXX14_CONSTEXPR #endif -#if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304) +#if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304) || (__cplusplus < 201402L) # define BOOST_NO_CXX14_DECLTYPE_AUTO #endif #if (__cplusplus < 201304) // There's no SD6 check for this....