
22 Dec
2004
22 Dec
'04
4:17 a.m.
what happens when you make the change below? Can you build and run any of the demos or tests? Please confirm that you have done this. Robert Ramey. Ryan Wilcox wrote:
I would like to use boost::serialize for one of my projects, using Codewarrior 8.3 (going to CW 9 may or may not be in the picture), on Mac OS X (10.3.x)
I reproduced this error with the following Simplest Sample That Will (for me) Fail To Compile.
<code>
#include <fstream>
// introduce this here:
#include
#include
#include <ios> #include <vector>
int main() { std::ifstream in( "vectfname", (std::ios_base::openmode)0 ); boost::archive::text_iarchive dataSource(in); std::vector<int> is;
dataSource >> boost::serialization::make_nvp("avector", is); }
</code>