opDispatch returning this not working in a hierarchy
Walter Bright
newshound2 at digitalmars.com
Wed Feb 1 20:22:53 PST 2012
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.
More information about the Digitalmars-d-bugs
mailing list