functor AND const reference to pointer