I am working on a project that requires me to create a factory for a templated class. The class hierarchy I\'ve come up with so far looks like this:
class base {