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

Concept satisfied by any callable convertible to ove_timer_fn. More...

#include <timer.hpp>

Concept definition

template<typename F>
concept ove::TimerCallback = std::convertible_to<F, ove_timer_fn>
Concept satisfied by any callable convertible to ove_timer_fn.
Definition timer.hpp:32

Detailed Description

Concept satisfied by any callable convertible to ove_timer_fn.

Used to constrain the callback template parameter of Timer so that only compatible function-pointer types are accepted.

Template Parameters
FThe callable type to check.