
Hello,
c:/boost/boost/serialization/access.hpp:109: error: 'struct std::basic_string
, std::allocator >' 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
?
At least in latest boost distribution, this file (wstring.hpp) is not exist.

dennis@conus.info wrote:
Hello,
c:/boost/boost/serialization/access.hpp:109: error: 'struct std::basic_string
, std::allocator >' 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
? 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

Sohail Somani wrote:
dennis@conus.info wrote:
Hello,
c:/boost/boost/serialization/access.hpp:109: error: 'struct std::basic_string
, std::allocator >' 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
? 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
participants (2)
-
dennis@conus.info
-
Sohail Somani