lookup fields struct

Diggory diggsey at googlemail.com
Sun May 26 21:55:11 PDT 2013


On Sunday, 26 May 2013 at 23:37:01 UTC, mimi wrote:
> Wow! thanks!

"offsetof" will automatically distribute over the arguments so to 
get the offsets of a tuple you can just do:

auto tmp = TP.offsetof;

And "tmp" will be a tuple of the offsets.


More information about the Digitalmars-d-learn mailing list