Boost logo

Boost Users :

Subject: Re: [Boost-users] Serialization of optional<std::string>
From: Robert Ramey (ramey_at_[hidden])
Date: 2018-02-19 16:57:54


On 2/19/18 4:35 AM, Chardrazle via Boost-users wrote:
> 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?
>

Hmmm- is std::string not default constructible?


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