MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMakeSlot.h File Reference
#include <type_traits>

Go to the source code of this file.

Macros

#define MAKE_SLOT(func)
 you will not be able to move your struct after using this macro

Functions

template<typename MemberFuncPtr, typename BaseClass>
auto bindSlotCallback (BaseClass *base, MemberFuncPtr func)

Macro Definition Documentation

◆ MAKE_SLOT

#define MAKE_SLOT ( func)
Value:
bindSlotCallback(this,func)
auto bindSlotCallback(BaseClass *base, MemberFuncPtr func)
Definition MRMakeSlot.h:6

you will not be able to move your struct after using this macro

Function Documentation

◆ bindSlotCallback()

template<typename MemberFuncPtr, typename BaseClass>
auto bindSlotCallback ( BaseClass * base,
MemberFuncPtr func )