MeshLib Documentation
Loading...
Searching...
No Matches
MRMakeSlot.h File Reference
#include <type_traits>

Go to the source code of this file.

Macros

#define MAKE_SLOT(func)   bindSlotCallback(this,func)
 

Functions

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

Macro Definition Documentation

◆ MAKE_SLOT

#define MAKE_SLOT ( func)    bindSlotCallback(this,func)

Function Documentation

◆ bindSlotCallback()

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