|
Boost Users : |
Subject: [Boost-users] Serialization of optional<std::string>
From: Chardrazle (boost_at_[hidden])
Date: 2018-02-19 12:35:15
As part of upgrading a product to a later version of boost the compilation
has tripped up on serialization of a boost::optional<std::string>.
The /optional.hpp/ header now has the comment:
...and this fires for std::string.
What, if any, is the recommended way forward for this?
An example code snippet to illustrate:
Previous version of boost: 1.50; new: 1.6x
Compiling with g++ 4.6.4 (although same problem with 4.8.5): -W -Wall
-std=c++0x...
(The real code is actually using the portable_binary_archive, but let's
avoid muddying the waters at this stage :)
-- Sent from: http://boost.2283326.n4.nabble.com/Boost-Users-f2553780.html
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net