virtual method pointer
Gor Gyolchanyan
gor.f.gyolchanyan at gmail.com
Fri May 4 07:11:52 PDT 2012
Great! Thanks!
After I'm done with this, I'll propose adding it to Phobos.
A genuine dynamic dispatch mechanism would be very useful.
On Fri, May 4, 2012 at 6:04 PM, jerro <a at a.com> wrote:
> On Friday, 4 May 2012 at 10:05:54 UTC, Gor Gyolchanyan wrote:
>>
>> So, the only overhead in making a virtual call this way over calling
>> the method directly is exactly 1 extra function call?
>
>
> I guess so. You are calling a function that does a virtual call and doesn't
> do anything else, so what other overhead could there be?
--
Bye,
Gor Gyolchanyan.
More information about the Digitalmars-d
mailing list