Boost logo

Boost Users :

From: Michael Nicolella (boost_at_[hidden])
Date: 2006-08-25 13:07:05


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

 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net