Pass functor a pointer from bench