MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1tic32u/c26_more_function_wrappers/omzu159/?context=3
r/cpp • u/pavel_v • May 20 '26
37 comments sorted by
View all comments
Show parent comment
5
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.
std::copyable_function
std::function
View all comments
Show parent comment
5
u/38thTimesACharm May 21 '26 edited May 21 '26
There's only one,
std::copyable_functionis the new and improvedstd::function. The other two (for a total of four) do different things.