This header declares the invoke function to call function objects that may throw exceptions.
More...
|
| #define | MGIS_INVOKE(e, ...) ::mgis::invoke(e, __VA_ARGS__) |
| | a simple wrapper around the invoke function which handles the declaration of the source location if needed
|
| |
|
#define | MGIS_INVOKE_CHECK_ERRNO(e, ...) ::mgis::invokeCheckErrno(e, __VA_ARGS__) |
| |
| #define | MGIS_TRY_INVOKE_VOID(e, ...) |
| | a simple wrapper around the invoke function when the returned type of the callable is void
|
| |
| #define | MGIS_TRY_INVOKE_VOID_CHECK_ERRNO(e, ...) |
| |
| #define | MGIS_TRY_INVOKE(v, e, ...) |
| | a simple wrapper around the invoke function
|
| |
| #define | MGIS_TRY_INVOKE_CHECK_ERRNO(v, e, ...) |
| |
|
| template<typename F , typename... ArgumentsTypes> |
| invoke_result_t< F, ArgumentsTypes... > | mgis::invoke (Context &, F &&, ArgumentsTypes &&...) noexcept |
| | invoke the given callable object param[inout] ctx: execution context
|
| |
|
template<typename F , typename... ArgumentsTypes> |
| invoke_result_t< F, ArgumentsTypes... > | mgis::invokeCheckErrno (Context &, F &&, ArgumentsTypes &&...) noexcept |
| |
This header declares the invoke function to call function objects that may throw exceptions.
- Date
- 07/11/2022