In BaseClass.h, there are `#definition` for `TYPESYSTEM_HEADER_WITH_OVERRIDE` and `TYPESYSTEM_HEADER`. From what I understood of the meaning of the override keyword, since C++11 it should always be used, although optional.
If I am not getting anything wrong (again!), as long as the macro is only used for subclassing `BaseClass`, I see no need for having both macros. What am I missing (again)?
TYPESYSTEM_HEADER_WITH_OVERRIDE and TYPESYSTEM_HEADER
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- andrecaldas
- Posts: 301
- Joined: Fri Jan 27, 2023 8:45 pm
- Contact: