Navigation
API > API/Runtime > API/Runtime/Core
Type trait which yields the number of arguments in a function type, e.g.:
TFunctionArity_V
This doesn't work for pointers or references to functions, or member function pointer types - use the correct one of these to get a pure function type:
- std::remove_pointer_t
- std::remove_reference_t
- TRemoveMemberPtr_T
| Name | TFunctionArity |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Traits/FunctionArity.h |
| Include Path | #include "Traits/FunctionArity.h" |
Syntax
template<typename FunctionType>
struct TFunctionArity