|
-
February 10th, 2004, 12:42 AM
#1
When is the Virtual table for any class created?
Hello,
can any one please clarify following doubts.
If any Derived class overrides the virtual function from Base classs, then for the Derived class the Virtual Table contain the address of Derived function (this can be known in compile time) . And each Base and Derived Class has separate Virtual Table.
When is the Virtual table for any class created?Is it in compile time or in Runtime? and explaination?
Regards,
Thomas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|