2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Remove all BOOST_MATH_STATIC_ASSERT_MSG

This commit is contained in:
Matt Borland
2021-03-16 22:42:09 +03:00
parent c1f7a55aa6
commit d6a04ab194
28 changed files with 99 additions and 108 deletions

View File

@@ -74,7 +74,7 @@ value_type derivative (const value_type x, const value_type dx, function_type fu
\return derivative at x.
*/
BOOST_MATH_STATIC_ASSERT_MSG(false == std::numeric_limits<value_type>::is_integer, "value_type must be a floating-point type!");
static_assert(false == std::numeric_limits<value_type>::is_integer, "value_type must be a floating-point type!");
const value_type dx2(dx * 2U);
const value_type dx3(dx * 3U);