Boost logo

Boost Users :

From: Sohail Somani (sohail_at_[hidden])
Date: 2008-04-16 15:26:42


dennis_at_[hidden] wrote:
> Hello,
>
>>> c:/boost/boost/serialization/access.hpp:109: error: 'struct
>>> std::basic_string<wchar_t, std::char_traits<wchar_t>,
>>> std::allocator<wchar_t> >' has no member named 'serialize'
>>>
>>> So, is there wstring support for serialization, or I should write my
>>> own?
>> Hi Dennis,
>> sure there is, did you include <boost/serialization/wstring.hpp>?
>
> At least in latest boost distribution, this file (wstring.hpp) is not exist.

Are you using one of the warchives? Like text_woarchive and text_wiarchive.

std::string is a primitive type, so I assume std::wstrings are also
considered primitive.

Good luck.

-- 
Sohail Somani
http://uint32t.blogspot.com

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