Related articles |
---|
use of vtbl Michael.Bantle@t-systems.de (Michael BANTLE) (2001-08-06) |
Re: use of vtbl fjh@cs.mu.OZ.AU (2001-08-08) |
Re: use of vtbl zoicasc@hotmail.com (Cristian Zoicas) (2002-08-04) |
Re: use of vtbl gdr@soliton.integrable-solutions.net (Gabriel Dos Reis) (2002-08-10) |
Re: use of vtbl mal@wyrd.be (Lieven Marchand) (2002-08-10) |
Re: use of vtbl bill@gibbons.org (Bill Gibbons) (2002-08-10) |
Re: use of vtbl haberg@matematik.su.se (Hans Aberg) (2002-08-14) |
Re: use of vtbl loewis@informatik.hu-berlin.de (Martin v. =?iso-8859-1?q?L=F6wis?=) (2002-08-14) |
From: | "Gabriel Dos Reis" <gdr@soliton.integrable-solutions.net> |
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" <zoicasc@hotmail.com> 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
http://www.codesourcery.com/cxx-abi/
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
series.
-- Gaby
Return to the
comp.compilers page.
Search the
comp.compilers archives again.