Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-04-09 10:55:00


From: "Eyal Farago" <eyalfa_at_[hidden]>
> How did it solve the 'smart_ptr to this' problem?
> It seems to me like a Fundamental problem when using smart pointers.

It is only a problem with non-intrusive implementations, like
boost::shared_ptr. I don't particularly like the global pointer map
solution.

Intrusive implementations convert between raw and smart with ease.

FWIW, I have encountered the 'this' problem myself - once; I used a custom
intrusive pointer to solve it. In all other cases I still use shared_ptr.


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