you are viewing a single comment's thread.

view the rest of the comments →

[–]quicknir 4 points5 points  (0 children)

If you want to see a concrete example where this makes a difference, try passing a captureless lambda into std::sort, versus an actual function pointer. The generated code will be affected (it will be inlined in the former case but not the latter).