[GCC-XML] Stupid newbie question re: layout of member/instance variables

John Morrison jm at mak.com
Thu Apr 21 14:27:54 EDT 2005

Hi All;

Is there any way to find out the memory layout of C++ classes,
especially in the context of multiple inheritance?  I am using gccxml
to generate bindings for C++, and I can find out the *size* of the
class instances, but is there a way to compute the layout so the
bindings can directly reference the member variables?  This is
especially important in the case where there are neither mutators nor
accessors defined within the classes.



==== John Morrison
==== MAK Technologies Inc.
==== 10 Fawcett Street, Cambridge, MA 02138
==== http://www.mak.com/
==== vox:617-876-8085 x115
==== fax:617-876-9208
==== jm at mak.com

More information about the gccxml mailing list