Template:cpp/algorithm/transform scan example