Discussion about this post

User's avatar
Mohammed Aboulmagd's avatar

What is the use case of this?

Is it more performant to use function pointers? I was under the impression that lambdas are performant in C++, given that it’s just syntactic sugar for function objects (functors). I know std::function isn’t as performant since the compiler cannot inline, due to inability to deduce the function.

Expand full comment
1 more comment...

No posts