|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Template metaprogramming utilities for typed_thread_pool module. More...
#include "type_traits.h"#include <type_traits>#include <utility>#include <tuple>#include <functional>
Go to the source code of this file.
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::thread |
| Core threading foundation of the thread system library. | |
| namespace | kcenon::thread::detail |
Typedefs | |
| template<typename Job > | |
| using | kcenon::thread::detail::job_type_t = typename job_type_extractor<Job>::type |
Functions | |
| template<typename F > | |
| constexpr auto | kcenon::thread::detail::generate_job_name () |
| Template for automatic job naming based on function signature. | |
| template<typename JobType , typename... Args> | |
| constexpr auto | kcenon::thread::detail::make_job_args (Args &&... args) |
| Perfect forwarding helper for job construction. | |
Variables | |
| template<typename T > | |
| constexpr bool | kcenon::thread::detail::has_priority_method_v = has_priority_method<T>::value |
| template<typename T > | |
| constexpr bool | kcenon::thread::detail::has_do_work_method_v = has_do_work_method<T>::value |
| template<typename Job , typename ExpectedJobType > | |
| constexpr bool | kcenon::thread::detail::is_compatible_job_v = is_compatible_job<Job, ExpectedJobType>::value |
Template metaprogramming utilities for typed_thread_pool module.
This file contains advanced template metaprogramming utilities, SFINAE helpers, and compile-time utilities that support the typed thread pool implementation.
Definition in file template_helpers.h.