- 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:
2025-12-03 01:41:30 -05:00
parent 0b76b06a1b
commit d928d86014
28 changed files with 479 additions and 301 deletions

View File

@@ -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() {