Template:cpp/algorithm/dsc stable partition