Go to the documentation of this file.
31 #ifndef _GLIBCXX_CSTDALIGN
32 #define _GLIBCXX_CSTDALIGN 1
34 #ifdef _GLIBCXX_SYSHDR
35 #pragma GCC system_header
38 #if __cplusplus < 201103L
42 # if _GLIBCXX_HAVE_STDALIGN_H
43 # include <stdalign.h>
45 # if __cplusplus >= 202002L && ! _GLIBCXX_USE_DEPRECATED
46 # error "<cstdalign> is not a standard header in C++20, remove the #include"
47 # elif __cplusplus >= 201703L && defined __DEPRECATED
48 # pragma GCC diagnostic push
49 # pragma GCC diagnostic ignored "-Wc++23-extensions"
50 # warning "<cstdalign> is deprecated in C++17, remove the #include"
51 # pragma GCC diagnostic pop