diff --git a/include/boost/mpl/print.hpp b/include/boost/mpl/print.hpp index 4281822d8..e3b0d315a 100644 --- a/include/boost/mpl/print.hpp +++ b/include/boost/mpl/print.hpp @@ -37,8 +37,7 @@ namespace aux { static const unsigned value = 1; }; #endif -} // namespace aux - +} // namespace aux template struct print @@ -47,7 +46,9 @@ struct print , aux::print_base #endif { -#if defined(BOOST_MSVC) +#if defined(__clang__) + const int m_x = 1 / (sizeof(T) - sizeof(T)); +#elif defined(BOOST_MSVC) enum { n = sizeof(T) + -1 }; #elif defined(__MWERKS__) void f(int);