
19 Nov
2004
19 Nov
'04
10:11 a.m.
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.