HPX_DEBUG doesn't actually control what HPX_ASSERT does.

defined(HPX_DISABLE_ASSERTS) || defined(BOOST_DISABLE_ASSERTS) || defined(NDEBUG) is the only way to check whether HPX_ASSERT does anything or not.