Template:cpp/algorithm/dsc rotate copy