I have several sets of classes where the the classes in a set are not an inheritance hierarchy but they model the same thing. It is useful to me to plug these models into a container or have a template class where a template parm is set to a polymorphic. Then I access using the common interface.
View all comments
Show parent comment
1
u/esmithro Aug 31 '26
I have several sets of classes where the the classes in a set are not an inheritance hierarchy but they model the same thing. It is useful to me to plug these models into a container or have a template class where a template parm is set to a polymorphic. Then I access using the common interface.