With reference to offsetof
would appreciate a simpler explanation of the following:
The expression
offsetof(type, member)
is never type-dependent and it is value-dependent if and only if type is dependent.
With reference to offsetof
would appreciate a simpler explanation of the following:
The expression
offsetof(type, member)
is never type-dependent and it is value-dependent if and only if type is dependent.