Boost logo

Boost :

From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2004-10-27 01:38:03

Robert Ramey wrote:
> Are you by any chance using draft #20 with boost_1-31?

No, I've downloaded the RC_1_32_0 branch. I haven't yet tried to use the
code, I was just reading the documentation.

> Currently, I don't have load_object_ptr anymore in the code. It fell
> a way when I made adjustments to accommodate ADL.

Hmmm, the same would apply to load_construct_data, which still is in the
code or am I missing something?

> I suppose you could use something like the following:
> class x {
> y *m_y;
> template<class Archive>
> load(Archive& ar){
> m_y = new y;
> ar >> m_y;
> }
> };
> but of course this would evade the free object tracking for serialized
> pointers

Yes, I could do something like this. However, as you said, it's a rather
inconvenient because I'd have to implement tracking myself. The
situation I'm thinking of using serialization in consists of a handful
of objects that can freely point to other objects.


Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header. 

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