-
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
[diff.mods.to.headers] Explain what happened to meaningless C headers #1051
Conversation
the \Cpp standard library provides the C headers enumerated | ||
in~\ref{depr.c.headers}, but their use is deprecated in \Cpp. | ||
|
||
\pnum | ||
\begin{note} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need a note here, this whole clause is non-normative.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good point, removed.
from the \Cpp standard library. | ||
The headers \tcode{<ciso646>}, \tcode{<cstdalign>}~(\ref{cstdalign.syn}), | ||
and \tcode{<cstdbool>}~(\ref{cstdbool.syn}) are meaningless in \Cpp. Use of | ||
the \Cpp headers \tcode{<ccomplex>}, \tcode{<cstdalign>}, \tcode{<cstdbool>}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I wonder why <ciso646>
is not deprecated... maybe we should file an issue for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just emailed lwgchair and opened an issue :-)
In fact, I wonder if we cannot remove the deprecated C++ headers in C++2a and move the synopses into Annex D.
\tcode{<stdnoreturn.h>}\indextext{\idxhdr{stdnoreturn.h}}, | ||
and \tcode{<threads.h>}\indextext{\idxhdr{threads.h}}, | ||
nor are the C headers themselves part of \Cpp. | ||
The headers \tcode{<ccomplex>}\indextext{\idxhdr{ccomplex}}~(\ref{ccomplex.syn}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New paragraph here (between "headers in C and not in C++" and "headers in C++ that are not the same as the corresponding C header").
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, and also below.
A section called "modifications to headers" should not fail to explain what happened to all the other C headers.
Part of Issue #1006.