-
Notifications
You must be signed in to change notification settings - Fork 794
Closed
Labels
lwgIssue must be reviewed by LWG.Issue must be reviewed by LWG.not-editorialIssue is not deemed editorial; the editorial issue is kept open for tracking.Issue is not deemed editorial; the editorial issue is kept open for tracking.
Description
__alignas_is_defined
and __alignof_is_defined
are introduced in C11 (WG14 N1507, WG14 N1558) and removed in C23 (WG14 N2934).
However, C++ (11~23) has never mentioned __alignof_is_defined
even though it's specified that "contents of the C++ header <stdalign.h>
are the same as the C standard library header <stdalign.h>
" (the wording was slightly different before C++20). There doesn't seem any C++ paper or issue for this.
Is it intended that __alignof_is_defined
is not a C++ feature or is there a missing specification? In the latter case, we may still need to change Annex C for C++26.
Metadata
Metadata
Assignees
Labels
lwgIssue must be reviewed by LWG.Issue must be reviewed by LWG.not-editorialIssue is not deemed editorial; the editorial issue is kept open for tracking.Issue is not deemed editorial; the editorial issue is kept open for tracking.