Re: use of vtbl

"Gabriel Dos Reis" <>
10 Aug 2002 01:59:38 -0400

          From comp.compilers

Related articles
use of vtbl (Michael BANTLE) (2001-08-06)
Re: use of vtbl (2001-08-08)
Re: use of vtbl (Cristian Zoicas) (2002-08-04)
Re: use of vtbl (Gabriel Dos Reis) (2002-08-10)
Re: use of vtbl (Lieven Marchand) (2002-08-10)
Re: use of vtbl (Bill Gibbons) (2002-08-10)
Re: use of vtbl (Hans Aberg) (2002-08-14)
Re: use of vtbl (Martin v. =?iso-8859-1?q?L=F6wis?=) (2002-08-14)
| List of all articles for this month |

From: "Gabriel Dos Reis" <>
Newsgroups: comp.compilers
Date: 10 Aug 2002 01:59:38 -0400
Organization: CodeSourcery, LLC
References: 01-08-021 02-08-018
Keywords: C++
Posted-Date: 10 Aug 2002 01:59:38 EDT

"Cristian Zoicas" <> writes:

| [I gather that the C++ standards committee came very close to defining
| the structure of a vtbl, so portable code could mess with them.

That is unfortunately untrue.

The C++ standards committee don't even say anything thing about the
layout of a non-POD class.

There is a C++ ABI defined the Itanium platform

by some C++ compilers vendors -- not the C++ standards committee --
but it is not part of standard C++ definition.

| I suspect you'll find that no matter which compiler you use, the
| vtbls are all about the same. -John

That is untrue. Take for example g++ from GCC-2.95.x and GCC-3.x

-- Gaby

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.