Boost logo

Boost Users :

From: codeur_at_[hidden]
Date: 2005-11-17 04:50:12


Hello I'm a new user of the serialization library and I didn't understand
how I could serialize the following Map class :

#include <vector>

template<typename T>
class Point
{
private:
  T x;
  T y;
};

template<typename T>
class Map
{
private:
  std::vector < Point<T> * > map;
};

int main()
{
  Map<double> m; /* double or float or int or user defined float/integer
                    with infinite precision */
  return 0;
}

Could somebody help me ? Thanks!


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