Boost logo

Boost :

From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2004-11-19 05:11:15


Robert Ramey <ramey <at> rrsd.com> writes:

> > b) Your implementation doesn't work when a weak_ptr is read before the
> > corresponding shared_ptr.
>
> It would seem to me that serialization a weak pointer before serializing its
> corresponding shared pointer would be a user error.

Why make something a user error that can easily be made to work? I see that it
is slightly more difficult to implement, but it does not seem to be that
complicated?

Regards,

-- 
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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk