Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
kcenon::thread::detail::compile_string< N > Struct Template Reference

Compile-time string for template error messages. More...

#include <pool_traits.h>

Collaboration diagram for kcenon::thread::detail::compile_string< N >:
Collaboration graph

Public Member Functions

constexpr compile_string (const char(&str)[N])
 

Public Attributes

char value [N]
 

Detailed Description

template<size_t N>
struct kcenon::thread::detail::compile_string< N >

Compile-time string for template error messages.

Definition at line 184 of file pool_traits.h.

Constructor & Destructor Documentation

◆ compile_string()

template<size_t N>
kcenon::thread::detail::compile_string< N >::compile_string ( const char(&) str[N])
inlineconstexpr

Definition at line 185 of file pool_traits.h.

185 {
186 std::copy_n(str, N, value);
187 }

References kcenon::thread::detail::compile_string< N >::value.

Member Data Documentation

◆ value

template<size_t N>
char kcenon::thread::detail::compile_string< N >::value[N]

The documentation for this struct was generated from the following file: