expr,msg)</code> expands to <code>((void)(expr))</code> when <code>NDEBUG</code> is
defined, to <code>BOOST_ASSERT_MSG(expr,msg)</code> when it&#8217;s not.</p>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="boost_assert_is_void">BOOST_ASSERT_IS_VOID</h3>
<div class="paragraph">
<p>The macro <code>BOOST_ASSERT_IS_VOID</code> is defined when <code>BOOST_ASSERT</code> and <code>BOOST_ASSERT_MSG</code> are expanded to <code>((void)0)</code>.
Its purpose is to avoid compiling and potentially running code