| 98 | // Creates delegate from a function or a static class method |
| 99 | template<typename... Args> |
| 100 | inline delegates::DelegateFunction<Args...>* newDelegate(void (*_func)(Args... args)) |
| 101 | { |
| 102 | return new delegates::DelegateFunction<Args...>(_func, _func); |
| 103 | } |
| 104 | |
| 105 | // Creates delegate from a non-static class method |
| 106 | template<typename T, typename... Args> |
no outgoing calls