|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Type erasure helper for heterogeneous job storage. More...
#include <template_helpers.h>

Classes | |
| struct | vtable_t |
Public Member Functions | |
| template<typename Job > | |
| job_eraser (Job &&job) | |
| void | execute () |
| void | destroy () |
Private Attributes | |
| const vtable_t * | vtable_ |
| char | storage_ [64] |
Static Private Attributes | |
| template<typename Job > | |
| static constexpr vtable_t | vtable_for |
Type erasure helper for heterogeneous job storage.
Definition at line 190 of file template_helpers.h.
|
inline |
Definition at line 193 of file template_helpers.h.
|
inline |
Definition at line 201 of file template_helpers.h.
References kcenon::thread::detail::job_eraser::vtable_t::destroy, storage_, and vtable_.
|
inline |
Definition at line 197 of file template_helpers.h.
References kcenon::thread::detail::job_eraser::vtable_t::execute, storage_, and vtable_.
|
private |
Definition at line 218 of file template_helpers.h.
|
private |
Definition at line 217 of file template_helpers.h.
|
staticconstexprprivate |
Definition at line 212 of file template_helpers.h.