For one class I want to store some function pointers to member functions of the same class in one map storing std::function objects. But I fail rig
map
std::function
You can avoid std::bind doing this:
std::bind
std::function f = [this]-> {Foo::doSomething();}