cpp function object, lession 1