digitalmars.D - Re: OffsetTypeInfo
- Ender KaShae <astrothayne gmail.com> Aug 18 2007
- Carlos Santander <csantander619 gmail.com> Aug 18 2007
Carlos Santander Wrote:Ender KaShaea escribió:How do you use the OffsetTypeInfo class, or the offti function of the classinfo or typeinfo classes? I was expecting them to give the type and offfset of each member of a class or struct, though I can't figure out how to get that information.
Maybe I'm misunderstanding you, but have you checked if .offsetof does what you want to do? -- Carlos Santander Bernal
what is .offsetof I have not heard of it
Aug 18 2007
Ender KaShae escribió:Carlos Santander Wrote:Ender KaShaea escribió:How do you use the OffsetTypeInfo class, or the offti function of the classinfo or typeinfo classes? I was expecting them to give the type and offfset of each member of a class or struct, though I can't figure out how to get that information.
want to do? -- Carlos Santander Bernal
what is .offsetof I have not heard of it
Look for "Field Properties" in http://www.digitalmars.com/d/class.html -- Carlos Santander Bernal
Aug 18 2007








Carlos Santander <csantander619 gmail.com>