Swapping is often faster than assignment — a fact that often allows algorithms that swap to be dramatically faster than they would be if they used assignment. Here's why.
March 21, 2012
URL:http://www.drdobbs.com/cpp/object-swapping-part-2-algorithms-can-of/232602979
Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.