3#include "IDelegateInvoker.hpp"
7namespace CP_SDK::Utils::Internals {
10 template<
class t_Lambda,
class t_Ret,
class... t_Args>
36 t_Ret
Invoke(t_Args... p_Args)
const override
38 return m_Lambda(std::forward<t_Args>(p_Args)...);
DelegateInvokerL(const t_Lambda &p_Lambda)
Constructor.
t_Ret Invoke(t_Args... p_Args) const override
Invoke this invoker.
bool IsValid() const override
Is the delegate valid.
bool EqualTo(const IDelegateInvoker< t_Ret, t_Args... > *p_Other) const override
Is this invoker equal to an other invoker.
Delegate invoker interface.