Destroy two assumptions: interface implementation generated by TMP
anonymous via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Aug 12 05:43:45 PDT 2014
On Tuesday, 12 August 2014 at 12:08:14 UTC, John Colvin wrote:
>> I think the problem is that impl3.tmp is not virtual because
>> it's
>> a template, and interfaces need to be implemented by virtual
>> methods.
>
> The instantiations of the template are just normal functions
> though, no?
They are not virtual. Ordinary methods (public, not final, not
templated) are virtual.
More information about the Digitalmars-d-learn
mailing list