Boost logo

Boost Users :

From: Marc Wäckerlin (marc_at_[hidden])
Date: 2007-01-23 08:31:36


I got it. Please see my attachment.

This BinaryWriter and BinaryReader does store all data in plain binary
without any additional information (version, etc.). It runs in our project,
so you'll have to remove the LOG_...-macros and maybe to rename some parts.

In case of any problems in getting it to run, just ask here.

Changes:

The forward declaration for the friends (see previous mail) is no more
necessary, when you include iserializer.hpp

The following is missing in the example:

1. #include <boost/archive/detail/iserializer.hpp>
2. Overwriting "template<class T> void save_override(const T& t, int)"
   is mandatory, not optional!

Good luck
Regards
Marc



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