Espaços nominais
Variantes
Acções

offsetof

Da cppreference.com
< c‎ | types

Defined in header <stddef.h>
#define offsetof(type, member) /*implementation-defined*/
O offsetof macro expande para uma constante de size_t tipo, cujo valor é o deslocamento, em bytes, a partir do início de um objecto do tipo especificado para o seu membro especificado, incluindo estofamento, se qualquer.
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.

[editar] Veja também

tipo inteiro sem sinal retornado pelo operador 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