MCRO
C++23 utilities for Unreal Engine.
|
Defers a set of arguments for a function call later with its first argument. This is useful for developing fluent API operators. More...
#include <FunctionTraits.h>
Public Types | |
using | FirstArg = TFunction_Arg<Function, 0> |
using | ExtraArgs = TSkip<1, TFunction_Arguments<Function>> |
using | Return = TFunction_Return<Function> |
Public Member Functions | |
template<typename... Args> | |
TDeferFunctionArguments (Args... args) | |
template<CConvertibleToDecayed< FirstArg > FirstArgRef> | |
Return | operator() (FirstArgRef &&arg) |
Defers a set of arguments for a function call later with its first argument. This is useful for developing fluent API operators.
Definition at line 301 of file FunctionTraits.h.
using Mcro::FunctionTraits::TDeferFunctionArguments< FuncPtr, Function >::ExtraArgs = TSkip<1, TFunction_Arguments<Function>> |
Definition at line 304 of file FunctionTraits.h.
using Mcro::FunctionTraits::TDeferFunctionArguments< FuncPtr, Function >::FirstArg = TFunction_Arg<Function, 0> |
Definition at line 303 of file FunctionTraits.h.
using Mcro::FunctionTraits::TDeferFunctionArguments< FuncPtr, Function >::Return = TFunction_Return<Function> |
Definition at line 305 of file FunctionTraits.h.
|
inline |
Definition at line 308 of file FunctionTraits.h.
|
inline |
Definition at line 313 of file FunctionTraits.h.