Template:cpp/algorithm/dsc rotate