...

/

Rotate Ranges

Rotate Ranges

We can rotate our data such that every element now lies at a different index, which is decided by the rotation offset.

std::rotate and std::rotate_copy rotate their elements. ...