You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [support.types], we show the synopsis of <cstddef> in 18.2.1 with no prose and the synopsis of <cstdlib> in 18.2.2 with prose following.
The issue is that the prose that follows claims to talk only about <cstdlib>, but that's a lie: It refers to 18.2.3 [support.types.nullptr], 18.2.4 [support.types.layout], but those two sections talk about nullptr and offsetof, respectively, two items defined in <cstddef>, not in <cstdlib>.
We're also missing the boilerplate sentence
The contents and meaning of the header <cstdlib> are the same as the C standard library header <stdlib.h>, except ...
for <cstddef>.
Proposal: Clone this sentence for <cstddef>, to follow its synopsis.
The text was updated successfully, but these errors were encountered:
After the synopsis for <cstddef>, add a sentence (cloned from cstdlib.syn)
that the contents are the same as <stddef.h> except for wchar_t,
[support.types.nullptr], and [support.types.layout].
Fixescplusplus#1404.
After the synopsis for <cstddef>, add a sentence (cloned from cstdlib.syn)
that the contents are the same as <stddef.h> except for wchar_t,
[support.types.nullptr], and [support.types.layout].
Fixes#1404.
In [support.types], we show the synopsis of
<cstddef>
in 18.2.1 with no prose and the synopsis of<cstdlib>
in 18.2.2 with prose following.The issue is that the prose that follows claims to talk only about
<cstdlib>
, but that's a lie: It refers to 18.2.3 [support.types.nullptr], 18.2.4 [support.types.layout], but those two sections talk about nullptr and offsetof, respectively, two items defined in<cstddef>
, not in<cstdlib>
.We're also missing the boilerplate sentence
for
<cstddef>
.Proposal: Clone this sentence for
<cstddef>
, to follow its synopsis.The text was updated successfully, but these errors were encountered: