OffsetTypeInfo

Carlos Santander csantander619 at gmail.com
Sat Aug 18 20:20:16 PDT 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.
>> 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

Look for "Field Properties" in http://www.digitalmars.com/d/class.html

-- 
Carlos Santander Bernal



More information about the Digitalmars-d mailing list