1 Jan 07:00
Strange issue with Serialization of BiMaps
Mangal <mangalmanish <at> gmail.com>
2010-01-01 06:00:37 GMT
2010-01-01 06:00:37 GMT
Hi
I am using Boost 1.40.0 and stlport 5.0 on Visual Studio 2008.
The Bimap deserialization succeeds for 24 elements but starts failing after
that.
Here is the file with all the code
#include "stdafx.h"
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/functional/hash.hpp>
#include <boost/bimap/bimap.hpp>
#include <fstream>
#include <exception>
#include <iostream>
using namespace boost;
using namespace boost::bimaps;
typedef unsigned int uint;
struct GeoNode
{
public:
GeoNode(){}
GeoNode(uint x, uint y ): x_geocode(x), y_geocode(y) {}
friend bool operator==(GeoNode const& a, GeoNode const& b)
{
(Continue reading)
RSS Feed