On 2007-11-04 12:45,
wrote:
> On Nov 4, 3:52 pm, "Bo Persson" <b...@gmb.dk> wrote:
>> Rahul wrote:
>>
>> :: Hi Everyone,
>> ::
>> :: I was wondering what is the datatype of vtpr and what is its
>> :: access specifier (public or private or protected)?
>> :: This is in regard to the inheritance of a class having one or more
>> :: virtual functions.
>> ::
>>
>> It is all implementation specific, so we don't know.
>>
>> There is not even a requirement to have a vptr, if the compiler can
>> perform the required actions without one.
Please do not quote signatures, and please reply to the post to which
your reply is directed.
> I think as a user there is no need to know the type,
I think that as a user there is no way to tell if there is a vptr to
begin with.
--
Erik Wikström