Plasma Engine  2.0
Loading...
Searching...
No Matches
Delegate_inl.h
1
2#include <Foundation/Types/Implementation/DelegateHelper_inl.h>
3
4template <typename Function>
5PL_ALWAYS_INLINE plDelegate<Function> plMakeDelegate(Function* pFunction)
6{
7 return plDelegate<Function>(pFunction);
8}
9
10template <typename Method, typename Class>
11PL_ALWAYS_INLINE typename plMakeDelegateHelper<Method>::DelegateType plMakeDelegate(Method method, Class* pClass)
12{
13 return typename plMakeDelegateHelper<Method>::DelegateType(method, pClass);
14}
A generic delegate class which supports static functions and member functions.
Definition Delegate.h:76
Definition DelegateHelper_inl.h:348