diff --git a/include/boost/config/detail/suffix.hpp b/include/boost/config/detail/suffix.hpp index 22d31f68..2e5b942b 100644 --- a/include/boost/config/detail/suffix.hpp +++ b/include/boost/config/detail/suffix.hpp @@ -391,7 +391,7 @@ namespace std { # ifdef BOOST_NO_INCLASS_MEMBER_INITIALIZATION # define BOOST_STATIC_CONSTANT(type, assignment) enum { assignment } # else -# define BOOST_STATIC_CONSTANT(type, assignment) static const type assignment +# define BOOST_STATIC_CONSTANT(type, assignment) BOOST_STATIC_CONSTEXPR type assignment # endif // BOOST_USE_FACET / HAS_FACET workaround ----------------------------------//