Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialize] Conflict between Serialize and PIMPL?
From: Robert Ramey (ramey_at_[hidden])
Date: 2014-12-28 18:11:49

I think we're talking about serializing through a pointer to an abstract base

Boost serialization supports - through the "register type" and/or "export"
You'll have to look at the documentation.

when serialization is restoring objects through the abstract pointer, /it/
thinks it is responsible for instantiating all classes, including the
derived classes.

do end up with /two/ instances of the private implementation class, one of
which is just hanging in mid-air?

Not if you do it as described in the documantion and tests.

View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at