When using virtual functions it is often convenient to use a single class template for both the base class and all derived classes. My question is: are classes defined this