You can use a member function but you'll have to pass an instance to Task. I've looked in the Task source and it should work, since it forwards all of its arguments to thread. Thread internally detects if you gave a member function pointer and uses the first argument as the instance to call the function from.
Code:
class MyClass
{
private:
void DispatchTask();
void ProcessTask(int param);
}
void MyClass::DispatchTask()
{
Task myTask = new Task("MyTask", &MyClass::ProcessTask, this, someParam);
}
void MyClass::ProcessTask(int param)
{
// do something on task
}
&MyClass::SomeFunction is a pointer to a member function.