Comment on Swapping two blocks of memory inside a larger block, in constant memoryComments−TrainedMonkey8moApparently the trick is two std::rotates : https://devblogs.microsoft.com/oldnewthing/20260101-00/?p=11...As a side note, love how Raymond handled that, no fluff and straight to the point. Beginners mind and all that.
Comments
Apparently the trick is two std::rotates : https://devblogs.microsoft.com/oldnewthing/20260101-00/?p=11...
As a side note, love how Raymond handled that, no fluff and straight to the point. Beginners mind and all that.