libxr
Embedded C++ framework for bare-metal, RTOS and Linux
Loading...
Searching...
No Matches
LibXR::CallbackFunctionCompatible Concept Reference

可转换为精确回调函数指针的可调用对象 Callable convertible to the exact callback function pointer More...

#include <libxr_cb.hpp>

Concept definition

template<typename CallableType, typename BoundArgType, typename... CallbackArgs>
concept LibXR::CallbackFunctionCompatible = requires(CallableType callable) {
static_cast<void (*)(bool, BoundArgType, CallbackArgs...)>(callable);
}
可转换为精确回调函数指针的可调用对象 Callable convertible to the exact callback function pointer
Definition libxr_cb.hpp:19

Detailed Description

可转换为精确回调函数指针的可调用对象 Callable convertible to the exact callback function pointer

Definition at line 19 of file libxr_cb.hpp.