Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost::Serialize, serializing std::basic_string
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-10-29 13:01:19


are you including "boost/serialization/string.hpp" ?

Robert Ramey
  "Jacob Holm" <jacobholm_at_[hidden]> wrote in message news:94342b580810290613i675e7db7h7d54cb3d1bfbe038_at_mail.gmail.com...
  I have a variable which is a basic_string, as I want my own allocator assigned to it. This gives me the following compiler error:

  "Error 3 error C2039: 'serialize' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>' ...\boost\serialization\access.hpp 109"

  I have searched around for this error but have not been able to find a solution. It would be possible to just pass a vector with chars in it, but basic_string is preferred. Has anyone else had this problem and maybe managed to solve it?

  /Jacob Holm

------------------------------------------------------------------------------

  _______________________________________________
  Boost-users mailing list
  Boost-users_at_[hidden]
  http://lists.boost.org/mailman/listinfo.cgi/boost-users



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