Andrey:

A similar D code is, as far as I know,

type.field.offsetof

Yes, it's a built-in feature of D.


Is there an any way to make a corresponding D template?

I don't understand. Please explain better.

Bye,
bearophile

Reply via email to