
25 Aug
2006
25 Aug
'06
5:07 p.m.
Looking at boost::scoped_ptr, as I understand it it's meant to model sole-ownership without transfer-of-ownership semantics. If that's the case, what is the utility for having it support swap() operations ? What functionality is lost if the swap() capability is removed? Thanks, Mike