How can you swap two adjacent blocks of memory using only forward iterators? (opens in new tab)
A different algorithm, employing a different kind of cleverness.
Read the original articleA different algorithm, employing a different kind of cleverness.
Read the original article