[Issue 4172] Improve varargs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 26 10:44:55 PST 2010


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



--- Comment #5 from Sobirari Muhomori <dfj1esp02 at 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: -------


More information about the Digitalmars-d-bugs mailing list