hof
hof copied to clipboard
Only inherit when the class is empty
The main reason for inheritance is to take advantage of EBO. So it might be best to only inherit when classes are empty. This is related to issue #129, and may supersede it.
The nice thing about inheritance is easy access to the base class. I think it would be better to keep inheritance and the user can use final or fit::protect to avoid possible problems that come from inheritance, but I am not sure which would be the better approach.