offsetof
Aus cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <stddef.h>
|
||
#define offsetof(type, member) /*implementation-defined*/ |
||
Die Makro offsetof expandiert zu einer Konstante vom Typ
size_t, deren Wert von den Offset in Bytes vom Anfang eines Objekts der angegebenen Typs in ihren angegebenen Elements einschließlich der Polsterung gegebenenfalls .. istOriginal:
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.
You can help to correct and verify the translation. Click here for instructions.
Siehe auch
unsigned Integer-Typ durch die sizeof Operator zurückgegeben 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) | |
C++ documentation for offsetof
| |