Namespaces
Variants
Actions

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

From cppreference.com
< c‎ | header
 
C
 
Standard Library headers

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)

[edit] Synopsis

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant