stdalign.h — alignment macros
#include <stdalign.h>
[CX] The functionality described on this reference page is aligned with the ISO C standard. Any conflict between the requirements described here and the ISO C standard is unintentional. This volume of POSIX.1-2024 defers to the ISO C standard.The <stdalign.h> header shall define the following macros:
- alignas
- Expands to _Alignas
- alignof
- Expands to _Alignof
- __alignas_is_defined
Expands to the integer constant 1- __alignof_is_defined
Expands to the integer constant 1The __alignas_is_defined and __alignof_is_defined macros shall be suitable for use in #if preprocessing directives.
None.
None.
None.
None.
First released in Issue 8. Included for alignment with the ISO/IEC 9899:2018 standard.
return to top of page