max_align_t

Updated: April 19, 2023

A type whose alignment requirement is at least as strict as that of every scalar type

Synopsis:

#include <stddef.h>

typedef ... max_align_t;

Description:

The max_align_t type is one whose alignment requirement is at least as strict (as large) as that of every scalar type. A fundamental alignment is one that's less than or equal to alignof( max_align_t ); an alignment that's greater than this value is called an extended alignment.

Classification:

C11