Template:cpp/algorithm/dsc find end