use constexpr instead of BOOST_STATIC_CONST

This commit is contained in:
artemp 2015-06-01 17:23:51 +01:00
parent 5e9b40aebd
commit c399469d95

View file

@ -100,9 +100,7 @@ template<typename T0,typename T1>
struct has_process
{
using processor_impl_type = typename T0::processor_impl_type;
BOOST_STATIC_CONSTANT(bool
, value = sizeof(has_process_helper<processor_impl_type,T1>(0)) == sizeof(yes_tag)
);
constexpr static bool value = (sizeof(has_process_helper<processor_impl_type,T1>(0)) == sizeof(yes_tag));
};
}