Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
type_traits.h File Reference

Type traits for typed_thread_pool module. More...

#include <kcenon/thread/concepts/thread_concepts.h>
#include <type_traits>
#include <string>
Include dependency graph for type_traits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::thread::detail::job_type_traits< T, typename >
 Type traits for job types. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 
namespace  kcenon::thread::detail
 

Typedefs

template<typename T , typename = std::enable_if_t<JobType<T>>>
using kcenon::thread::detail::job_underlying_t = typename job_type_traits<T, void>::underlying_type
 Type alias for job type conversion.
 

Functions

template<typename T >
constexpr bool kcenon::thread::detail::can_compare_priority ()
 Helper to determine if a type can be used as a job priority.
 
template<typename T , typename = std::enable_if_t<JobType<T>>>
constexpr bool kcenon::thread::detail::higher_priority (T lhs, T rhs) noexcept
 Compile-time priority comparison.
 

Detailed Description

Type traits for typed_thread_pool module.

This file contains type traits and compile-time utilities for the typed thread pool. Concept definitions (JobType, JobCallable) are imported from thread_concepts.h to avoid duplication.

Definition in file type_traits.h.