offsetof
Jarrett Billingsley
kb3ctd2 at yahoo.com
Thu Aug 21 12:57:34 PDT 2008
"Jarrett Billingsley" <kb3ctd2 at yahoo.com> wrote in message
news:g8kh8p$6c4$1 at digitalmars.com...
> It's actually exactly the opposite from how it's defined in the spec: you
> can only use offsetof on instances of user-defined types, not on the type
> itself.
>
> It makes _absolutely_ no sense, I know. I can't help but feel it's a bug,
> but it's been this way for over 4 years.
>
I take that back, it used to be this way but something seems to have
changed.
More information about the Digitalmars-d-learn
mailing list