- Some underlying features for RTTI
- Macro for automatically generating this_t - Semantics with static_constructor.h, now FENNEC_PRIVATE_STATIC_CONSTRUCTOR for .cpp files and FENNEC_CLASS_STATIC_CONSTRUCTOR for a class in any source file type.
This commit is contained in:
@@ -44,11 +44,15 @@ namespace fennec::test
|
||||
{
|
||||
|
||||
struct rtti_test_base {
|
||||
FENNEC_RTTI_ENABLE();
|
||||
FENNEC_RTTI_CLASS_ENABLE() {
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
struct rtti_test_sub : rtti_test_base {
|
||||
FENNEC_RTTI_ENABLE(rtti_test_base);
|
||||
FENNEC_RTTI_CLASS_ENABLE(rtti_test_base) {
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
inline void fennec_test_rtti() {
|
||||
|
||||
Reference in New Issue
Block a user