Boost C++ Libraries: Ticket #2374: Some boost.intrusive files fail to compile with BOOST_ENABLE_ASSERT_HANDLER defined https://svn.boost.org/trac10/ticket/2374 <p> Some boost.intrusive files fail to compile with BOOST_ENABLE_ASSERT_HANDLER defined. This appears to be due to the use of assert in those files instead of BOOST_ASSERT or one of the variants defined in boost/intrusive/detail/assert.hpp </p> <p> Since it appears that boost.intrusive takes some pains to avoid direct use of BOOST_ASSERT, and it's unclear to me how these uses would shake out, I'm not attaching a patch. However, here's grep output: </p> <pre class="wiki">avltree_algorithms.hpp:685: assert(a); avltree_algorithms.hpp:688: assert(NodeTraits::get_right(a)); avltree_algorithms.hpp:717: assert(a); avltree_algorithms.hpp:720: assert(NodeTraits::get_left(a)); avltree_algorithms.hpp:738: assert(false); // never reached avltree_algorithms.hpp:787: assert(false); // never reached avltree_algorithms.hpp:845: assert(false); // never reached avltree_algorithms.hpp:902: assert(false); pointer_plus_bits.hpp:64: assert(0 == (std::size_t(p) &amp; Mask)); pointer_plus_bits.hpp:73: assert(c &lt;= Mask); sgtree.hpp:154: assert(0); sgtree_algorithms.hpp:686: assert(tree_size == count(s)); splaytree_algorithms.hpp:873: assert(0); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2374 Trac 1.4.3 Ion Gaztañaga Tue, 18 Nov 2008 07:57:49 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2374#comment:1 https://svn.boost.org/trac10/ticket/2374#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in Boost 1.37 </p> Ticket