 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ram Guest
|
Posted: Tue Oct 17, 2006 9:10 am Post subject: Virual Functions mechanism |
|
|
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
|
Posted: Tue Oct 17, 2006 9:10 am Post subject: Re: Virual Functions mechanism |
|
|
* 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 |
|
 |
|
|
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
|
|