Menu

#Copyable_Function

1 post

Feed
1 of 1 post
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