Skip to content

Overridden functions need to be manually specified #28

@klemensschindler

Description

@klemensschindler

When inheriting from an abstract class and implementing existing functions, you need to manually specify that you override a specific function.
If this is not done, we can end up implementing all abstract functions, but the class is still marked abstract (because no override of the abstract function has been specified)

A check which warns that an override should be specified (C++ compilers will actually see this as overrides) would improve usability in the above scenario.

A nice to have (but definitely not essential) would be to automatically match the name of an implemented function and fill it in automatically. However, these auto-correct like features can reduce control of a user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions