id summary reporter owner description type status milestone component version severity resolution keywords cc 4820 any swaps inefficiently jonathandodd@… nasonov "Apologies if this isn't a bug - I am quite new to boost, however I checked in the IRC channel and it doesn't seem like this is a total non-starter. It seems that if you simply call swap, std::swap is called, resulting in an inefficient swapping operation. For example: Big b1, b2; any a1=b1, a2=b2; swap(a1,a2); //Calls std::swap, invokes three copy constructors I've attached a demonstration file, which I compiled with gcc. Seems like can be easily solved with an overloaded std::swap, but I know little about boost, so I'll leave that for the experts :)" Bugs closed To Be Determined any Boost 1.44.0 Optimization invalid