Template:cpp/algorithm/dsc partition copy