Namespace
Varianti

offsetof

Da cppreference.com.
< c‎ | types

Defined in header <stddef.h>
#define offsetof(type, member) /*implementation-defined*/
Il offsetof macro restituisce una costante di size_t tipo, il cui valore è l'offset, in byte, dall'inizio di un oggetto del tipo specificato al suo membro specificato, compresi eventuali imbottiture.
Original:
The macro offsetof expands to a constant of type size_t, the value of which is the offset, in bytes, from the beginning of an object of specified type to its specified member, including padding if any.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Vedi anche

senza segno tipo intero restituito dal gestore sizeof
Original:
unsigned integer type returned by the sizeof operator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(typedef) [edit]
C++ documentation for offsetof