From f795ba53faa98e3b031b87b39e19fc3a27730a83 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 9 Feb 2022 19:58:57 +0200 Subject: [PATCH] Update assert.adoc --- doc/assert.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/assert.adoc b/doc/assert.adoc index 3926224..4628e07 100644 --- a/doc/assert.adoc +++ b/doc/assert.adoc @@ -32,7 +32,7 @@ code. * If the macro `BOOST_ENABLE_ASSERT_HANDLER` is defined when `` is included, `BOOST_ASSERT(expr)` expands to + -``` +```none (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__)) ``` @@ -75,7 +75,7 @@ the macro `NDEBUG` is defined. * If the macro `BOOST_ENABLE_ASSERT_HANDLER` is defined when `` is included, `BOOST_ASSERT_MSG(expr,msg)` expands to + -``` +```none (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed_msg(#expr, msg, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__)) ```