れい 381 shows a small demonstration of calling a user function the code calls a function thats supplied to it as argument and directly passes this functions return value through as its own return value note the use of the constructor and destructor calls at the end it might not be necessary to do it this way here since they should be separate values the assignment might be safe but this is bulletproof 