English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The structure of Vtable,Where it is stored

2007-02-22 19:08:23 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

Somewhere in main memory; not heap for sure, and since C++ is unmanaged/unsandboxed unlike Java/C# do there is no system memory segment anyway; I know what you talk about but I have no answer to you exactly.

We Java/C#'ers don't care about such thing.

2007-02-22 19:31:07 · answer #1 · answered by Andy T 7 · 1 0

I think it's stored as a static variable that is part of the each class, this way it's always allocated for the duration of the program running, and is available for each class.

2007-02-23 01:35:12 · answer #2 · answered by Pfo 7 · 0 0

fedest.com, questions and answers