CARB_OFFSETOF2#
Defined in carb/Defines.h
-
CARB_OFFSETOF2(t, m)#
Returns the offset of a member
m
of a classt
at compile time.- Parameters:
t – The type on which to compute the offset.
m – The member - the current location must have visibility to the call of
CARB_OFFSETOF2
.
- Returns:
The offset of
`m`
int
from its containing class, in bytes, as asize_t
.