Navigation
API > API/Runtime > API/Runtime/Engine
Wraps invocation of a function that can return a value or not. If it doesn't, the function call is wrapped into a function that will invoke the provided function and return the provided default value.
| Name | TOverrideVoidReturnInvoker |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/OverrideVoidReturnInvoker.h |
| Include Path | #include "OverrideVoidReturnInvoker.h" |
Syntax
template<typename ReturnType, typename FuncType>
struct TOverrideVoidReturnInvoker
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TOverrideVoidReturnInvoker
(
ReturnType InDefaultValue, |
OverrideVoidReturnInvoker.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DefaultValue | ReturnType | OverrideVoidReturnInvoker.h | ||
| Function | FuncType | OverrideVoidReturnInvoker.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator()
(
ArgTypes&&... Args |
OverrideVoidReturnInvoker.h |