V Table

V

Victor Bazarov

Kittu said:
Where will be V Table stored?

What's a "V Table"? If you mean the 'virtual function pointer table',
then it's usually stored in your program memory. It is unspecified in
the language where precisely it's stored because it's not defined by
the language and is what is called "an implementation detail".

V
 
R

Ron Natalie

Kittu said:
Where will be V Table stored?

VTables are an impelementation concept. You'll need to ask
whoever knows your compiler well. Typically, they are in
some static initialized (perhaps readonly) memory. Each
polymorphic object will have a pointer to the appropriate
table.
 
J

Jeff Flinn

Rolf Magnus said:
Why do you care, and what answer would you expect, other than "somewhere in
memory"?

Because that was the homework assignment?

Jeff F
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,181
Messages
2,570,970
Members
47,537
Latest member
BellCorone

Latest Threads

Top