oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
ove::ThreadEntry Concept Reference

Concept satisfied by any callable convertible to void(*)(void*). More...

#include <types.hpp>

Concept definition

template<typename F>
concept ove::ThreadEntry = std::convertible_to<F, void(*)(void*)>
Concept satisfied by any callable convertible to void(*)(void*).
Definition types.hpp:54

Detailed Description

Concept satisfied by any callable convertible to void(*)(void*).

Used to constrain the entry-function template parameter of Thread so that only stateless function pointers or compatible functors are accepted.

Template Parameters
FThe callable type to check.