Template:cpp/algorithm/dsc accumulate