C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Virual Functions mechanism

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Ram
Guest





PostPosted: Tue Oct 17, 2006 9:10 am    Post subject: Virual Functions mechanism Reply with quote



Hi,



Please clarify my below mentioned doubts,



1. Virtual functions addresses are stored in Virtual table, but how about
the Virtual destructor?



2. Is the Virtual destructor also treated as just like any other function
except the calling mechanism?



3. Could you please refer me a book/Website where I can find the detailed
information about the Virtual function and internal details.? What happens
at the compile time and Run time in detail?





Thanks & Regards,

Ram
Back to top
Alf P. Steinbach
Guest





PostPosted: Tue Oct 17, 2006 9:10 am    Post subject: Re: Virual Functions mechanism Reply with quote



* Ram:
Quote:
Hi,



Please clarify my below mentioned doubts,



1. Virtual functions addresses are stored in Virtual table,

Are they?


Quote:
but how about the Virtual destructor?

Usually treated in exactly the same way as other virtual functions.


Quote:
2. Is the Virtual destructor also treated as just like any other function
except the calling mechanism?

No.


Quote:
3. Could you please refer me a book/Website where I can find the detailed
information about the Virtual function and internal details.? What happens
at the compile time and Run time in detail?

See <url: http://home.no.net/dubjai/win32cpptut/special/pointers/ch_01.pdf>.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.