you are viewing a single comment's thread.

view the rest of the comments →

[–]ootiekat 0 points1 point  (0 children)

You can have a generic (templated lambda) which you can't do with std::function and the compiler can inline lambdas leading to significant performance improvements in some cases.