I have implemented the following interface:
template class Variable { public: Variable (T v) : m_value (v) {} virtual void Callback ()
Even if such a thing were possible, it no longer makes much sense to have it as a virtual function, as the derived instantiations couldn't be called polymorphically via a pointer to the base class.