Re: [Boost-bugs] [Boost C++ Libraries] #5340: Patch to support concrete base classes becomming abstract classes

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5340: Patch to support concrete base classes becomming abstract classes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-11 03:44:47


#5340: Patch to support concrete base classes becomming abstract classes
----------------------------------------------+-----------------------------
  Reporter: Aaron Barany <akb825@…> | Owner: ramey
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: serialization
   Version: Boost 1.47.0 | Severity: Showstopper
Resolution: | Keywords: serialization abstract concrete
----------------------------------------------+-----------------------------

Comment (by Aaron Barany <akb825@…>):

 There is one issue, which I mentioned in #5341. It will currently fail to
 compile if you are serializing into a pointer to an abstract class that
 doesn't have a serialize function. The case this was failing was in the
 shared_ptr_132 serialization when it reads the class that holds the
 reference count.

 The safest way to fix this would be to find the best place to cut off the
 chain of template instantiations which references the potentially non-
 existent serialize functions for abstract classes. I'm pretty sure I know
 the best place, I just need to find the time to implement and test it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5340#comment:2>
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:06 UTC