capture by value in lambda

+1
CPP
cpp
OUTPUT