|
C++ Concurrency Sandbox
|
A functor that wraps a packaged_task shared pointer. More...
Public Member Functions | |
| void | operator() () |
| Executes the wrapped task. | |
Public Attributes | |
| std::shared_ptr< std::packaged_task< void()> > | ptr |
| Pointer to the task. | |
A functor that wraps a packaged_task shared pointer.
Definition at line 42 of file ThreadPool_Advanced.cpp.
|
inline |
Executes the wrapped task.
Definition at line 48 of file ThreadPool_Advanced.cpp.
References ptr.
| std::shared_ptr<std::packaged_task<void()> > TaskWrapper::ptr |
Pointer to the task.
Definition at line 43 of file ThreadPool_Advanced.cpp.
Referenced by operator()().