[Boost-bugs] [Boost C++ Libraries] #8400: Serialization uses typeid in shared_ptr helper even when compileing without RTTI support

Subject: [Boost-bugs] [Boost C++ Libraries] #8400: Serialization uses typeid in shared_ptr helper even when compileing without RTTI support
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-05 08:09:35


#8400: Serialization uses typeid in shared_ptr helper even when compileing without
RTTI support
-------------------------------------+--------------------------------------
 Reporter: mika.fischer@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.53.0 | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 The culprit is the shared_ptr helper stuff, which uses typeid, which fails
 without RTTI.

 boost::shared_ptr uses boost::detail::sp_typeinfo instead of
 std::type_info and BOOST_SP_TYPEID instead of typeid, which also work
 without RTTI.

 If there are no unintended side effects, they should probably also be used
 by boost::serialization.

 Patch attached.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8400>
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:12 UTC