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.
11
u/mcmcc #pragma once 12d ago
I'm struggling to think of a scenario where I would ever use this thing.
Maybe I just don't use enough class hierarchies any more.