From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2005-12-18 05:48:36
> I have now also eliminated the allocation of the socket by
> adding a separate member to impl_type for storing the socket,
> and changing to use shared_ptr<void> with a no-op deleter
> object. The shared_ptr member of impl_type is now just used as a
> token to indicate cancellation.
Ummm, very clever move! There is no faster allocation than doing
nothing. If you want to avoid the counter, you could use intrusive_ptr
and the party is over.
Regards and thanks for you quick replies,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk