Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11245: Deserialization with private constructor works in 1.57 not in 1.58
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-02 10:01:17
#11245: Deserialization with private constructor works in 1.57 not in 1.58
-------------------------------+---------------------------
Reporter: Thomas Aho | Owner: ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.58.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------
Changes (by Stefan Hoelldampf <stefan.hoelldampf@â¦>):
* cc: stefan.hoelldampf@⦠(added)
Comment:
The same error here on Fedora 21 with gcc-4.9.2.
I think the problem is related to the fact that load() in
boost/serialization/vector.hpp calls
detail::is_default_constructible<U>(), but it does not check whether the
default constructor is accessible.
Eventually, std::vector::resize() fails.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11245#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:18 UTC