unconstFunc.hpp File Reference
#include "indep/macro/overload.hpp"

Go to the source code of this file.

Macros

#define BY_CONST_FUNC_2(type, funcCall)
 
#define BY_CONST_FUNC_1(funcCall)   BY_CONST_FUNC_2(me, funcCall)
 
#define BY_CONST_FUNC(...)   BY_OVERLOAD(BY_CONST_FUNC, __VA_ARGS__)
 

Macro Definition Documentation

◆ BY_CONST_FUNC_2

#define BY_CONST_FUNC_2 (   type,
  funcCall 
)
Value:
{ \
type* uncThis = (type*) this; \
return uncThis->funcCall; \
}