Post #25699 23 Jul 31, 2026, 10:23 UTC Interconverting std::function with copyable_function – Arthur O'Dwyerhttps://quuxplusone.github.io/blog/2026/07/26/function-explosion/https://redd.it/1vbjtef@r_cpp Arthur O’Dwyer Interconverting std::function and copyable_function C++11 introduced std::function as a type-erased callable-object holder. function is badly designed in a few ways: Its rarely used “go fish” API bloats every user; it advertises operator() const even when the controlled object’s operator() is mutating; it…