id summary reporter owner description type status milestone component version severity resolution keywords cc 2311 any::operator= should have by-value argument niels_dekker nasonov "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." Feature Requests closed Boost 1.38.0 any Boost 1.36.0 Problem fixed niels_dekker