-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[depr.c.macros] Missing description of __alignof_is_defined
LWG4036
#6765
Comments
This was mentioned during the discussion of LWG 3827 but looks like it didn't make it into the issue. It was mentioned in cplusplus/nbballot#502 It doesn't really matter now, because if it was supposed to be present in older standards, it's gone now anyway. I don't think we want a compatibility note saying that something which was never in the standard is gone now. |
Oh wait, they're not gone, we only deprecated them for now. Sigh. I suppose we could add |
What's unclear about this specification in [stdalign.h.syn] ?
Our normative reference is to C17, so if this has a macro in What exactly is the problem? Do you want index entries for the macros? |
We explicitly deprecated |
Ah, ok, we're simply missing an entry for @jwakely , do you feel we should do that editorially, or is that an LWG matter? Strictly speaking, it's normatively deprecating a macro whose status quo is that it's not deprecated. |
Yeah I think we should probably do it as an LWG issue. I don't know why it was never listed in the contents of |
Hmm... I'm tried to submit an LWG issue but not sure whether it is wanted (it's possibly too late). Since C++26 will probably refer to C23 and thus should get That's now LWG4036. |
__alignof_is_defined
__alignof_is_defined
LWG4036
Should be fixed by #6915. |
__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.The text was updated successfully, but these errors were encountered: