description | title | ms.date | f1_keywords | helpviewer_keywords | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Learn more about: <cstdalign> |
<cstdalign> |
6/28/2021 |
|
|
In some C++ standard library implementations, this header includes the C standard library header <stdalign.h>
, and adds the associated names to the std
namespace. Because that header isn't implemented in MSVC, the <cstdalign>
header defines compatibility macros __alignas_is_defined
and __alignof_is_defined
.
Note
Because the <stdalign.h>
header defines macros that are keywords in C++, including it has no effect. The <stdalign.h>
header is deprecated in C++. The <cstdalign>
header is deprecated in C++17 and removed in the draft C++20 standard.
Header: <cstdalign>
Namespace: std
Macro | Description |
---|---|
__alignas_is_defined |
A C compatibility macro that expands to the integer constant 1. |
__alignof_is_defined |
A C compatibility macro that expands to the integer constant 1. |
Header files reference
C++ standard library overview
Thread safety in the C++ standard library