◐ Shell
clean mode source ↗

Standard library header <stdalign.h> (C11)(deprecated in C23)

From cppreference.com

This header is part of the types support library.

Macros

alignas

(C11)(removed in C23)

convenience macro, expands to keyword _Alignas
(keyword macro)

alignof

(C11)(removed in C23)

convenience macro, expands to keyword _Alignof
(keyword macro)

Constants

__alignas_is_defined

(C11)(removed in C23)

expands to integer constant 1
(macro constant)

__alignof_is_defined

(C11)(removed in C23)

expands to integer constant 1
(macro constant)

Synopsis

#if __STDC_VERSION__ < 202311L
#define alignas _Alignas
#define alignof _Alignof
#define __alignas_is_defined 1
#define __alignof_is_defined 1
#endif