I am trying to create a simple wrapper function for std::bind, which will take a member function.
template<typename T, typename F>
void myBindFunction(T &t)
{
std::bind(T::F, t );
}
MyClass a = MyClass();
myBindFunction <MyClass, &MyClass::m_Function>( a );
I'm not sure if what I am trying to achieve it possible?