Alexander Zezulinsky wrote, On 21.5.2011 19:24:
> Hi, everyone
>
> I can operate with pointer-to-member functions.
> How can I get virtual member function index from v-table?
> I would like to iterate v-table and to execute virtual method by v-
> table index.
>
> Is it possible?
It is not. Instead, gather the member function pointers into your own array
and index into such array, if you really need to. Alternativelly, rethink
your design so that you do not need such thing at all.
>
> CODE:
>[...]
--
VH
|