r/cpp • • May 20 '26

C++26: More function wrappers

https://www.sandordargo.com/blog/2026/05/20/cpp26-copyable-function
118 Upvotes

37 comments sorted by

View all comments

Show parent comment

5

u/38thTimesACharm May 21 '26 edited May 21 '26

There's only one, std::copyable_function is the new and improved std::function. The other two (for a total of four) do different things.