when I am going through the lambda function, I have seen people comparing lambda with functors & I came across a statement
users don't have to clutter their code with small functors in some accessible scope.
My doubt is
- what is the problem in having small functors in some accessible scope
- isn't it good idea to have a single function (functor actually) & reuse it across multiple files in our project.
Thanks.