macro.hpp File Reference

Go to the source code of this file.

Macros

#define __BY__DECL_CLONE(ME)
 Meta-programming macro definitions for byeol type system. More...
 
#define __BY__DECL_TYPE(METATYPE)
 Define super meta type for class type introspection. More...
 

Macro Definition Documentation

◆ __BY__DECL_CLONE

#define __BY__DECL_CLONE (   ME)
Value:
public: \
clonable* clone() const override { return new ME(*this); } \
\
private:

Meta-programming macro definitions for byeol type system.

◆ __BY__DECL_TYPE

#define __BY__DECL_TYPE (   METATYPE)
Value:
public: \
typedef METATYPE metaType; \
const ntype& getType() const override { return ttype<me>::get(); } \
\
private:

Define super meta type for class type introspection.