Where will be V Table stored?
V Table
Collapse
This topic is closed.
X
X
-
KittuTags: None -
Victor Bazarov
Re: V Table
Kittu wrote:[color=blue]
> Where will be V Table stored?[/color]
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
-
Ron Natalie
Re: V Table
Kittu wrote:[color=blue]
> Where will be V Table stored?[/color]
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.
Comment
-
Rolf Magnus
Re: V Table
Kittu wrote:
[color=blue]
> Where will be V Table stored?[/color]
Why do you care, and what answer would you expect, other than "somewhere in
memory"?
Comment
-
Jeff Flinn
Re: V Table
"Rolf Magnus" <ramagnus@t-online.de> wrote in message
news:coi2eo$cnm $04$1@news.t-online.com...[color=blue]
> Kittu wrote:
>[color=green]
> > Where will be V Table stored?[/color]
>
> Why do you care, and what answer would you expect, other than "somewhere[/color]
in[color=blue]
> memory"?[/color]
Because that was the homework assignment?
Jeff F
Comment
Comment