Template:cpp/algorithm/dsc inplace merge