Boost C++ Libraries: Ticket #9676: ptr_container without RTTI https://svn.boost.org/trac10/ticket/9676 <p> ptr_container requires RTTI support only when compiled in debug mode. The reason for this seem to be a few assertions in <code>clone_allocator.hpp</code> and <code>detail/reversible_ptr_container.hpp</code>, which make use of <code>typeid</code>. </p> <p> It seems to me like these assertions should be surrounded by checks for <code>BOOST_NO_TYPEID</code> or something to that effect, so as to enable compilation in debug mode without RTTI. </p> <p> Steps to reproduce: Attempt to compile ptr_container in debug mode with RTTI support disabled. </p> <p> Expected result: Compilation finishes without error. </p> <p> Actual result: Compilation fails with errors in <code>clone_allocator.hpp</code> and <code>detail/reversible_ptr_container.hpp</code> regarding use of typeid when RTTI is disabled. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9676 Trac 1.4.3