News

A subtype inherits the characteristics of its parent type and can use, or not, the member functions ... parent / child, super class / sub class, etc. Let’s look at the C++ code used to test ...
For example, if you're checking type to do permissions, it might be better to add a get/checkPermission function to the Parent and Child classes you could use instead. I'v got two types of objects.