28 #ifndef __RTTR_DESTRUCTOR_H__
29 #define __RTTR_DESTRUCTOR_H__
43 class destructor_container_base;
80 bool is_valid()
const;
87 operator bool()
const;
94 type get_destructed_type()
const;
102 void invoke(
variant& obj)
const;
109 bool operator==(
const destructor& other)
const;
116 bool operator!=(
const destructor& other)
const;
120 destructor(
const detail::destructor_container_base* container =
nullptr);
122 const detail::destructor_container_base* _container;
127 #endif // __RTTR_DESTRUCTOR_H__
This class holds the type information for any arbitrary object.
Definition: type.h:165
The destructor class provides a destructor for registered types.
Definition: destructor.h:72
The variant class allows to store data of any type and convert between these types transparently...
Definition: variant.h:125
#define RTTR_API
Definition: core_prerequisites.h:124