diff --git a/include/boost/config/compiler/vacpp.hpp b/include/boost/config/compiler/vacpp.hpp index 371aae83..336fabe3 100644 --- a/include/boost/config/compiler/vacpp.hpp +++ b/include/boost/config/compiler/vacpp.hpp @@ -9,11 +9,16 @@ #if __IBMCPP__ <= 501 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS -# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION # define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS #endif -#if (__IBMCPP__ <= 502)|| !defined(BOOST_STRICT_CONFIG) +#if (__IBMCPP__ <= 502) || !defined(BOOST_STRICT_CONFIG) +// Actually the compiler supports inclass member initialization but it +// requires a definition for the class member and it doesn't recognize +// it as an integral constant expression when used as a template argument. +# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION + +# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD # define BOOST_NO_INTEGRAL_INT64_T #endif