Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8157: Access violation of const objects
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-25 19:36:56
#8157: Access violation of const objects
---------------------------------------------------+------------------------
Reporter: MichaÅ KÄdrzyÅski <kedrzu@â¦> | Owner: ramey
Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords: const
---------------------------------------------------+------------------------
Comment (by ramey):
Though object is constant, while serializing it, values of its members
change,
value change ONLY when being saved. You example only shows saving.
Perhaps you might want to test loading into a const object? Note that
saving REQUIRES a const object for reasons described in the documentation
because object is cast to non-const in the implementation of
serialization. It of course causes program to behave unpredictably.
I'm not seeing this. I would need to see more information and perhaps a
small test to verify this.
Robert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8157#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:12 UTC