Boost logo

Boost Users :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2007-05-09 04:41:37


On May 9, 2007, at 8:40 AM, Ng Pan wrote:

>
> The above problem doesn't exist for another pointer m_pD1.
> Both of them are pointer. The difference is that m_pnInt is integer
> (basic object) and m_pD1 is user-defined class.
>
> I wonder what should I do to solve the mentioned problem
> (serialization of pointer of basic object).

As far as I know, serialization of pointers to primitive types (such
as int) is not supported by the serialization library. Just serialize
the integer directly.

Matthias


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