Template:cpp/algorithm/dsc reduce