[C++26] Unification of GodotXXXClass into GodotClass, removal of registration macros, using Static Reflection #8
Labels
No labels
blocked
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
queertherians.org/gdxx#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Using C++26, we will no longer require GodotCustomClass;
typename TSelfwill be entirely obsolete and phased out, GodotExternClass will be renamed toGodotClass<...>, and custom classes will simply inherit fromGodotClass<...>.Registration macros will also be entirely phased out, and in its place will be Annotations, to be processed with Reflection.
All of this will clean up the code SIGNIFICANTLY, and this is a feature I am hugely anticipating.
Static Reflection my beloved. <3We can expect future Custom and Extern classes to look like the following prototypical examples:
As of writing, this issue is blocked by Clang/LLVM not yet supporting Static Reflection.