From: David Gruener (David.Gruener_at_[hidden])
Date: 2006-05-15 09:50:47
Tobias Schwinger wrote:
> As someone who uses the handle/body idiom quite frequently, I'd say it can be very useful.
> o for noncopyable classes (90% of the "pimpl candidates" in my projects) scoped_ptr works fine
> o in other places shared_ptr or intrusive_ptr work, but needs extra work to implement deep copy
No. The boost smart pointers are _not_ directly suitable for pimpls, because
they don't propagate const.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk