CARB_OFFSETOF

Defined in carb/Defines.h

CARB_OFFSETOF(a)

Returns the offset of a member of a class at compile time.

Parameters
  • a – The member of a class. The member must have visibility to the call of CARB_OFFSETOF. The class is inferred.

Returns

The offset of a from its containing class, in bytes, as a uint32_t.