
15 May
2006
15 May
'06
1:50 p.m.
Tobias Schwinger wrote:
As someone who uses the handle/body idiom quite frequently, I'd say it can be very useful.
But 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. David.