SyntaxFix
Write A Post
Hire A Developer
Questions
You can avoid std::bind doing this:
std::bind
std::function<void(void)> f = [this]-> {Foo::doSomething();}