Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2004-05-07 11:33:22

Francois Fath wrote:

> I have difficulties when serializing two objects pointing to each other.
> The generated archive is fine (I can see both references in it), but when
> deserializing, only one is restored. In the attached example, I have a
> collection of nodes, each one is pointing to the previous and to the next
> node. When deserializing, only the ->next references are restored, all the
> ->previous are NULL.

Hmmm - I would have expect to get a "pointer_conflict" exception when the
archive is being created - see test_cyclic_ptrs.

Robert Ramey

Boost list run by bdawes at, gregod at, cpdaniel at, john at