|
ORIGINAL
|
Static utility for validating callback signatures. More...
#include <error.h>

Static Public Member Functions | |
| template<typename Callback , typename Ret_TYPE , typename ... Args_TYPE> | |
| static void | check () |
| Validates a callback's signature and return type. | |
Static utility for validating callback signatures.
Provides compile-time and runtime checks for callback function signatures, ensuring they match expected parameter types and return types.
|
static |
Validates a callback's signature and return type.
| Callback | Type of the callback to check. |
| Ret_TYPE | Expected return type. |
| Args_TYPE | Expected argument types. |
| callbackSignatureError | If arguments don't match. |
| callbackReturnTypeError | If return type doesn't match. |