NAME

stdalign.h — alignment macros

SYNOPSIS

#include <stdalign.h>

DESCRIPTION

[CX] [Option Start] 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. [Option End]

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 1

The __alignas_is_defined and __alignof_is_defined macros shall be suitable for use in #if preprocessing directives.


The following sections are informative.

APPLICATION USAGE

None.

RATIONALE

None.

FUTURE DIRECTIONS

None.

SEE ALSO

None.

CHANGE HISTORY

First released in Issue 8. Included for alignment with the ISO/IEC 9899:2018 standard.

End of informative text.