Hi,
BOOST_STATIC_CONSTANT could be improved to make use of constexpr. This
is needed for instance to make integral_constant compliant with C++11.
The patch consists in changing const by BOOST_CONSTEXPR_OR_CONST in
boost/config/suffix.hpp
// BOOST_STATIC_CONSTANT workaround
--------------------------------------- //
// On compilers which don't allow in-class initialization of static integral
// constant members, we must use enums as a workaround if we want the
constants
// to be available at compile-time. This macro gives us a convenient way to
// declare such constants.
# ifdef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
# define BOOST_STATIC_CONSTANT(type, assignment) enum { assignment }
# else
# define BOOST_STATIC_CONSTANT(type, assignment) static
*BOOST_CONSTEXPR_OR_CONST* type assignment
# endif
and in each out of line static constant definition as in
template