Menu

#Quuxplusone

2 posts

Feed·
2 of 2 posts
Interconverting std::function with copyable_function
🖼️
0

Interconverting std::function with copyable_function

C++11 introduced std::function as a type-erased callable-object holder. function was 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…

15s
Read More