TDelegate< InRetValType(ParamTypes...), UserPolicy >::BindWeakLambda

Static: Binds a weak object C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Delegates/DelegateSignatureImpl.inl

Include

#include "Delegates/DelegateSignatureImpl.inl"

Syntax

template<typename UserClass, typename FunctorType, typename... VarTypes>
void BindWeakLambda
(
    UserClass * InUserObject,
    FunctorType && InFunctor,
    VarTypes... Vars
)

Remarks

Static: Binds a weak object C++ lambda delegate technically this works for any functor types, but lambdas are the primary use case

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss