id summary reporter owner description type status milestone component version severity resolution keywords cc 2312 intrusive_ptr::operator= should have by-value argument niels_dekker Peter Dimov "When a copy assignment operator is implemented simply by doing copy-and-swap, it should pass its argument by value, instead of doing the copy inside the body of the function, to allow the compiler to do copy elision. As was discussed at the Boost developer mailing list, [http://lists.boost.org/Archives/boost/2008/09/142106.php Improving the assignment operators of various Boost types]. So please consider the attached patch." Patches new To Be Determined smart_ptr Boost 1.36.0 Optimization niels_dekker