Boost logo

Boost Users :

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


Sohail Somani wrote:
> 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.

Oops, my mistake. It should work if BOOST_NO_STD_WSTRING is not defined.

Need more information:
  * compiler / os
  * code

-- 
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