This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Q: size of class/struct
- To: gcc at gcc dot gnu dot org
- Subject: Q: size of class/struct
- From: Colin McCormack <colin at field dot medicine dot adelaide dot edu dot au>
- Date: Sat, 21 Aug 1999 13:33:44 +1000
- Reply-To: colin at field dot medicine dot adelaide dot edu dot au
Hi,
Is there anywhere in the output of gcc2.95 where the size of a class/struct is
kept ... statically. It used to be in the vtable struct, but was removed for
rtti. Does the rtti structure keep the information anywhere?
Reason I'd like to know: I would like to be able to call a constructor having
dlopen()ed the implementing code, but of course I don't know how much storage
to allocate prior to the call.
This is in reference to coldstore:
http://field.medicine.adelaide.edu.au/~colin/coldstore/
which we're going to release fairly soon, and which incidentally, you may wish
to check out.
Colin.