Navigation
API > API/Runtime > API/Runtime/uLangCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULANG_FORCEINLINE auto uLang::Invoke
(
FuncType&& Func, |
Invokes a callable with a set of arguments. | uLang/Common/Templates/Invoke.h | |
ULANG_FORCEINLINE auto uLang::Invoke
(
ReturnType ObjType::* pdm, |
uLang/Common/Templates/Invoke.h | ||
ULANG_FORCEINLINE auto uLang::Invoke
(
ReturnType(ObjType::*)(PMFArgTypes...) PtrMemFun, |
uLang/Common/Templates/Invoke.h |
uLang::Invoke(FuncType &&, ArgTypes &&...)
Description
Invokes a callable with a set of arguments. Allows the following:
- Calling a functor object given a set of arguments.
- Calling a function pointer given a set of arguments.
- Calling a member function given a reference to an object and a set of arguments.
- Calling a member function given a pointer (including smart pointers) to an object and a set of arguments.
- Projecting via a data member pointer given a reference to an object.
- Projecting via a data member pointer given a pointer (including smart pointers) to an object.
See: http://en.cppreference.com/w/cpp/utility/functional/invoke
| Name | uLang::Invoke |
| Type | function |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Templates/Invoke.h |
| Include Path | #include "uLang/Common/Templates/Invoke.h" |
namespace uLang
{
template<typename FuncType, typename... ArgTypes>
ULANG_FORCEINLINE auto uLang::Invoke
(
FuncType && Func,
ArgTypes &&... Args
)
}
uLang::Invoke(ReturnType ObjType::*, CallableType &&)
| Name | uLang::Invoke |
| Type | function |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Templates/Invoke.h |
| Include Path | #include "uLang/Common/Templates/Invoke.h" |
namespace uLang
{
template<typename ReturnType, typename ObjType, typename CallableType>
ULANG_FORCEINLINE auto uLang::Invoke
(
ReturnType ObjType::* pdm,
CallableType && Callable
)
}
uLang::Invoke(ReturnType(ObjType::*)(PMFArgTypes...), CallableType &&, ArgTypes &&...)
| Name | uLang::Invoke |
| Type | function |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Templates/Invoke.h |
| Include Path | #include "uLang/Common/Templates/Invoke.h" |
namespace uLang
{
template<typename ReturnType, typename ObjType, typename... PMFArgTypes, typename CallableType, typename... ArgTypes>
ULANG_FORCEINLINE auto uLang::Invoke
(
ReturnType(ObjType::*)(PMFArgTypes...) PtrMemFun,
CallableType && Callable,
ArgTypes &&... Args
)
}