Espaces de noms
Variantes

max_align_t

De cppreference.com
< c | types

<metanoindex/>

<tbody> </tbody>
Déclaré dans l'en-tête <stddef.h>
typedef /*implementation-defined*/ max_align_t;
max_align_t est un type dont l'alignement exigence est au moins aussi strictes (plus grande) que celle de chaque type scalaire .
Original:
max_align_t is a type whose alignment requirement is at least as strict (as large) as that of every scalar type.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Notes

Pointeurs retournés par les fonctions de répartition tels que malloc sont correctement alignée pour n'importe quel objet, ce qui signifie qu'ils sont alignés au moins aussi strictes que max_align_t .
Original:
Pointers returned by allocation functions such as malloc are suitably aligned for any object, which means they are aligned at least as strict as max_align_t.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
max_align_t est habituellement synonyme de plus grand type scalaire, qui est long double sur la plupart des plates-formes, et son exigence d'alignement est soit 8 ou 16 .
Original:
max_align_t is usually synonymous with the largest scalar type, which is long double on most platforms, and its alignment requirement is either 8 or 16.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Voir aussi

C++ documentation for max_align_t