I found out that lambdas in both MSVC and GCC are functors implementing an operator(). What is the reason they prefer functor to function pointers?
I found out that lambdas in both MSVC and GCC are functors implementing an operator(). What is the reason they prefer functor to function pointers?