virtual method pointer

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Thu May 3 13:22:56 PDT 2012


That workaround is pretty obvious, but I can't afford to make an extra
call every time. This event system is supposed to be ultra-fast. Isn't
there a way to get to the vtable etry itself?

On Thu, May 3, 2012 at 11:26 PM, Steven Schveighoffer
<schveiguy at yahoo.com> wrote:
> On Thu, 03 May 2012 14:46:58 -0400, Gor Gyolchanyan
> <gor.f.gyolchanyan at gmail.com> wrote:
>
>> I need to get a pointer to a virtual method, which is in turn a
>> function pointer, being set by virtual method binding.
>
>
> Not exactly.  There is a workaround:
>
> http://www.drdobbs.com/blogs/cpp/231600610
>
> -Steve



-- 
Bye,
Gor Gyolchanyan.


More information about the Digitalmars-d mailing list