Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] Std::string's pointer can't beserialized.
From: Moch Ramis (mocramis_at_[hidden])
Date: 2010-07-01 00:38:06

2010/6/30 Robert Ramey <ramey_at_[hidden]>:
> try #include <boost/serialization/string.hpp>

The code i gave in example ever include it. we can't do a simpler code.

2010/6/30 Pete Bartlett <pete_at_[hidden]>:
> Really? I thought that since std::string was a primitive type it simply
> couldn't be serialized through a pointer?

I've never heard about it ... does the documentation says something like that ?
And why would a string header be provided if strings pointers can't be
serialized ?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at