http://d.puremagic.com/issues/show_bug.cgi?id=4172



--- Comment #5 from Sobirari Muhomori <dfj1es...@sneakemail.com> 2010-11-26 
10:43:31 PST ---
TypeInfo has offTi property that returns OffsetTypeInfo[], which is exactly
what you want - types and offsets of struct members.

What problem do you have with struct layout? You can't sum address of struct
and field offset to get address of field? Anyway, if reflection in D is awful,
may be it's better to make it usable rather than burden the compiler with work
that can be done by reflection but is not done yet?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to