SyntaxFix
Write A Post
Hire A Developer
Questions
The reason your functor example does not work is that you need an instance to invoke the operator().
operator()