Oops, I forgot to update the doc :lol:
So you should rather refer to the header (the doc is built from the comments in the header).
class MyTask
{
public:
void Run()
{
...
}
};
int main()
{
MyTask task;
sf::Thread Thread(&MyTask::Run, &task);
Thread.Launch();
...
return EXIT_SUCCESS;
}