Loading...
Searching...
No Matches
Go to the documentation of this file.
31#ifndef FENNEC_RTTI_ENABLE_H
32#define FENNEC_RTTI_ENABLE_H
34#include <fennec/lang/static_constructor.h>
39#include <fennec/rtti/detail/_this_t.h>
41#define FENNEC_RTTI_CLASS_ENABLE(...) \
43 using super_class_list = fennec::typelist<__VA_ARGS__>; \
44 virtual inline fennec::type get_type() const { return fennec::type::get_from_instance(this); } \
45 FENNEC_DEFINE_THIS_T; \
47 FENNEC_CLASS_STATIC_CONSTRUCTOR(_init_reflection)