$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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