[GCC-XML] Stupid newbie question re: layout of member/instance variables
jm at mak.com
Thu Apr 21 14:27:54 EDT 2005
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
==== vox:617-876-8085 x115
==== jm at mak.com
More information about the gccxml