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-04 15:24:56


#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 am very interested in address this as well as you're related observation
 regarding collections helper. I think both of these are fixable - but not
 as easily as one might think.

 I've always wanted the serialization library to be usable in a non-RTTI
 environment and included code to permit this. Unfortunately, I only
 included one test to verify this. This test actually verifies the ability
 of types using different systems to inter operate. Since you're actually
 using this, you might want to make a couple of tests to catch these kinds
 of errors. If you do this, please follow the schema for the current tests
 which can be applied to any archive type. This would make it much easier
 for me to incorporate such tests. I would hope that just a few such tests
 would give the the assurance that the serialization library would be
 useful in a non-RTTI environment.

 It's also possible that creation of these tests would uncover a couple of
 "gotchas" which should be described in the documentation. We can
 incorporate that as well - if necessary a new section for this special
 case.

 Robert Ramey

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