[Boost-bugs] [Boost C++ Libraries] #10501: VS2008: serialize compilation error for container classes

Subject: [Boost-bugs] [Boost C++ Libraries] #10501: VS2008: serialize compilation error for container classes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-09-14 19:53:09


#10501: VS2008: serialize compilation error for container classes
------------------------------+---------------------------
 Reporter: anonymous | Owner: ramey
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: serialization
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 Compilation fails with this error:

 c:\vs\boost_1_56_0\boost\serialization\access.hpp(118) : error
 C2039:[[BR]]
  ''''serialize' : is not a member of 'std::vector<_Ty>''''

 {{{
 #include <fstream>
 #include <vector>
 #include <string>
 #include <boost/archive/text_oarchive.hpp>


 int main()
 {
         std::ofstream ofs("filename");
         boost::archive::text_oarchive oa(ofs);
         std::vector<std::string> names;
         oa << names;
 }

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10501>
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:16 UTC