$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Serialization] Std::string's pointercan't beserialized.
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-06-30 17:00:41
Pete Bartlett wrote:
> [Snip program that already includes <boost/serialization/string.hpp>]
>
>> try #include <boost/serialization/string.hpp>
>> Robert Ramey
>
> Really? I thought that since std::string was a primitive type it
> simply couldn't be serialized through a pointer?
In any case, what you
likely want to do is derive from std::string and serialize that.
In this way you and assign you're own serialization traits
and not effect any other parts of the program.
>
> Pete