Re: [Boost-bugs] [Boost C++ Libraries] #3234: XML Serialization error when loading class that inherits from wstring

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3234: XML Serialization error when loading class that inherits from wstring
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-30 07:13:05


#3234: XML Serialization error when loading class that inherits from wstring
-----------------------------------+----------------------------------------
 Reporter: nitram.cero@… | Owner: ramey
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: serialization
  Version: Boost 1.37.0 | Severity: Problem
 Keywords: |
-----------------------------------+----------------------------------------

Comment(by nitram.cero@…):

 The same happens with SVN version (checked)

 and also by doing this (that seems more proper):

 {{{
 template<class Archive>
 void serialize(Archive & ar, nt::wstring &s, const unsigned int version)
 {
         ar & boost::serialization::base_object<std::wstring>(s);
 }
 }}}

 Regards
 -Martín

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3234#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC