#include <type_traits>
#include "rttr/detail/misc_type_traits.h"
#include "rttr/type.h"
#include "rttr/variant.h"
Go to the source code of this file.
|
| rttr |
| The namespace for all rttr components.
|
|
#define RTTR_ENABLE |
( |
|
... | ) |
|
Value:public:\
virtual
RTTR_INLINE void* get_ptr() {
return reinterpret_cast<void*
>(
this); } \
virtual
RTTR_INLINE rttr::detail::derived_info get_derived_info() {
return {
reinterpret_cast<void*
>(
this), rttr::impl::get_type_from_instance(
this)}; } \
typedef
TYPE_LIST(__VA_ARGS__) base_class_list; \
private:
This class holds the type information for any arbitrary object.
Definition: type.h:165
#define RTTR_INLINE
Definition: core_prerequisites.h:90
#define TYPE_LIST(...)
Definition: rttr_enable.h:286
#define TYPE_LIST |
( |
|
... | ) |
rttr::impl::type_list<__VA_ARGS__> |