How to subclass thread?

I try
class MyThread: public thread
{
MyThread(_Callable&& __f, _Args&&... __args) : thread(__f, __args);
};

but is error.
If I don't must subclass it, how add thread-specific fields?
Topic archived. No new replies allowed.