How can I force a template parameter T to be a subclass of a specific class Baseclass? Something like this:
T
Baseclass
template
By calling functions inside your template that exist in the base class.
If you try and instantiate your template with a type that does not have access to this function, you will receive a compile-time error.