>.
The macro is intended to be used in both Boost libraries and user
code.</p>
</div>
<div class="ulist">
<ul>
<li>
<p>By default, <code>BOOST_ASSERT(expr)</code> expands to <code>assert(expr)</code>.</p>
</li>
<li>
<p>If the macro <code>BOOST_DISABLE_ASSERTS</code> is defined when <code>&lt;boost/assert.hpp&gt;</code>
is included, <code>BOOST_ASSERT(expr)</code> expands to <code>((void)0)</code>, regardless of whether
the macro <code>NDEBUG</code> is defined. This allows users to selectively disable <code>