Concrete task wrapper that stores and invokes a callable. More...
#include <src/task_pool.h>
Public Member Functions | |
| _Impl (Function &&f) | |
| Explicitly store a concrete callable behind the task type-erasure interface. | |
| void | run () override |
| Execute the queued task body. | |
| Public Member Functions inherited from task_pool_util::_ImplBase | |
| virtual | ~_ImplBase ()=default |
| Destroy a queued callable through its polymorphic base. | |
Concrete task wrapper that stores and invokes a callable.
|
inlineexplicit |
Explicitly store a concrete callable behind the task type-erasure interface.
| f | Callable executed by the helper. |
|
inlineoverridevirtual |
Execute the queued task body.
Implements task_pool_util::_ImplBase.