Boost logo

Boost :

From: Frank Mori Hess (fmhess_at_[hidden])
Date: 2008-04-21 20:14:41


On Monday 21 April 2008 18:18, Daniel Frey wrote:
> The attached patch optimizes the current implementation of
> enable_shared_from_this, it saves one plain pointer. That might not be
> very much, but it's a start. It is 100% compatible for the users, no
> features are dropped. Further improvements might be possible, but I
> think the attached patch is a good base.

I believe it would be possible to replace _internal_shared_this and the
shared_ptr inside the deleter wrapper with a single shared_count.

-- 
Frank



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