On 2/1/2012 8:00 PM, Daniel L. Alves wrote:
I don't know if this is really a bug or some gotcha of the language that I don't get. I'm sorry if it happens to be the later.
This n.g. is mainly for bugzilla notifications. Questions like this should go into the digitalmars.D.learn n.g.
But to answer your question, printValue is a template, and templates are not virtual. Also, DispatchBase.opDispatch knows nothing about DispatchDerived.