[Boost-bugs] [Boost C++ Libraries] #10271: It is not possible to build BOOST ptr_container without RTTI except the compiler option BOOST_DISABLE_ASSERT is used.

Subject: [Boost-bugs] [Boost C++ Libraries] #10271: It is not possible to build BOOST ptr_container without RTTI except the compiler option BOOST_DISABLE_ASSERT is used.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-29 11:54:36


#10271: It is not possible to build BOOST ptr_container without RTTI except the
compiler option BOOST_DISABLE_ASSERT is used.
-------------------------------------------------+-------------------------
 Reporter: Christoph Perick | Owner: nesotto
  <christoph.perick@…> | Status: new
     Type: Bugs | Component:
Milestone: To Be Determined | ptr_container
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
-------------------------------------------------+-------------------------
 The BOOST_DISABLE_ASSERT define is necessary to build without RTTI
 ,because there is bug inside the boost_ptr_container
 (reversible_ptr_container.hpp, clone_allocator.hpp). The implementation
 uses the typeid(..) function inside a BOOST_ASSERT. Unfortunately it does
 not care about the RTTI setting (enabled or not). I had this problem in a
 debug build.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10271>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC