Boost logo

Boost :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2005-12-17 21:26:49


Hi Ion,

--- Ion Gaztañaga <igaztanaga_at_[hidden]> wrote:
> Looks good. Eliminating "null()" makes things much better.
> However the underlying shared_ptr<socket> is quite important.

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.

Thanks for pointing out these inefficiencies! :)

Cheers,
Chris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk