Espaces de noms
Variantes
Affichages
Actions

offsetof

De cppreference.com
< c‎ | types

Defined in header <stddef.h>
#define offsetof(type, member) /*implementation-defined*/
offsetof la macro s'étend à une constante de size_t type, la valeur de ce qui est le décalage en octets du début d'un objet du type spécifié à son élément de donnée, y compris le cas échéant rembourrage .
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.

[modifier] Voir aussi

unsigned integer retournée par l'opérateur 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