Template:cpp/algorithm/dsc transform reduce