Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] Std::string's pointer can't beserialized.
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-06-30 12:21:54


Moch Ramis wrote:
> Hello.
>
> I recently try to use boost.Serialization and it works fine until i
> try to serialize a string pointer. With a string pointer, the compiler
> (gcc 4.4.1) can't resolve a type and print the error: "error: ‘struct
> std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> ’ has no member named ‘serialize’"

try #include <boost/serialization/string.hpp>

Robert Ramey


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