The advantage of functors with respect to functions is said to be that they keep a state. Let's say in my problem this is not a relevant feature.
When I am defining a templated function/class, is there any rule for choosing if it would be better to have a function or a functor as template parameter? Or can I basically do the same thing, so does it depend on my taste?
(Related question: Functor vs template parameters)
Edit:
My question is partially answered (for the user side) here: Reason to use this stateless class with a function call operator vs a c style function?