Re: [Boost-bugs] [Boost C++ Libraries] #10310: serialization/smart_cast.hpp uses dynamic_cast and breaks non-RTTI builds

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10310: serialization/smart_cast.hpp uses dynamic_cast and breaks non-RTTI builds
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-05 19:09:58


#10310: serialization/smart_cast.hpp uses dynamic_cast and breaks non-RTTI builds
--------------------------------------------+---------------------------
  Reporter: Mika Fischer <mika.fischer@…> | Owner: ramey
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------------+---------------------------

Comment (by ramey):

 I'm totally convinced of this. test_no_rtti isn't really named correctly.
 I tests the inter operability of classes using differing type
 identification systems. In order to test this it chooses two systems to
 use in the test - and one of them is rtti.

 "When serializing through a pointer to a polymorphic base class, dynamic
 cast is invoked in line 204, thus making it impossible to serialize via
 base pointer without RTTI."

 line 204 - but which file?

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10310#comment:3>
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