Re: [Boost-bugs] [Boost C++ Libraries] #3604: Access violation on diamond inheritance

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3604: Access violation on diamond inheritance
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-24 12:32:46


#3604: Access violation on diamond inheritance
----------------------------------+-----------------------------------------
  Reporter: kondo@… | Owner: ramey
      Type: Support Requests | Status: closed
 Milestone: Boost 1.41.0 | Component: serialization
   Version: Boost 1.40.0 | Severity: Not Applicable
Resolution: fixed | Keywords:
----------------------------------+-----------------------------------------

Comment(by kondo@…):

> I'm adding this change to the library. I'm adding your
 test_diamond_complex to the test suite I'm updating the "acknowledgments"
 section to include your contribution.

 It's my honor. I'm very glad to contribute to your library.

> Since you've invested a lot of understanding in the library, you might
 want to consider investigating some other issues.

> a) My original implementation and your fix of virtual base class
 serialization depends on the compiler enabling RTTI. This is not a huge
 limitation, I'll note it in the documentation. But wonder if there is a
 way around this?

 I think that if we follow the C++ standard, it is impossible. As you know,
 downcasting via virtual base class must use dynamic_cast.

 But...

 If we go out of the C++ stantard, there might be some possibilities. Of
 course it depends on the compiler implementation.
 I think it is dangerous.
 Nevertheless, Do you think that RTTI free implementation is still
 important?
 If you think so, I'll consider about it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3604#comment:15>
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:03 UTC