MCPcopy Create free account
hub / github.com/MyGUI/mygui / newDelegate

Function newDelegate

MyGUIEngine/include/MyGUI_Delegate.h:100–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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>

Calls

no outgoing calls

Tested by 4

~TestWindowMethod · 0.68
OnInitialiseMethod · 0.68
createSkinMethod · 0.68
deleteSkinMethod · 0.68