operators are member functions. You can't do that, though what you want to do could be realized by passing a functor (an object with a () operator), a function pointer (a pointer to a function, duh) or a member function pointer (a pointer to a member function. Note that you also need to have an instance of the class that provides the function (or just the class itself if it's static) to use member function pointers.