cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
How to subclass thread?
How to subclass thread?
Apr 12, 2017 at 10:36pm UTC
Borneq
(50)
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.