Skip to content

Commit 37cc5af

Browse files
danrazygoloid
authored andcommitted
[diff.library] Consistency for wide char types
[diff.char16] says `char16_t` and `char_32t` > ...do not appear as *macro* names... [diff.wchar.t] says `wchar_t` > ...does not appear as a *type* name... It would be nice to make these consistent if there is no reason for the difference. I thought there might not be because I saw at least one implementation in which `char16_t` and `char_32t` are `typedef`s rather than macros.
1 parent 4455bf4 commit 37cc5af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/compatibility.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2616,7 +2616,7 @@
26162616
are distinct types rather than typedefs to existing integral types.
26172617
The tokens \tcode{char16_t} and \tcode{char32_t}
26182618
are keywords in this International Standard\iref{lex.key}.
2619-
They do not appear as macro names defined in
2619+
They do not appear as macro or type names defined in
26202620
\libheaderref{cuchar}.
26212621

26222622
\rSec3[diff.wchar.t]{Type \tcode{wchar_t}}
@@ -2626,7 +2626,7 @@
26262626
existing integral type.
26272627
The token \tcode{wchar_t}
26282628
is a keyword in this International Standard\iref{lex.key}.
2629-
It does not appear as a type name defined in any of
2629+
It does not appear as a macro or type name defined in any of
26302630
\libheaderref{cstddef},
26312631
\libheaderref{cstdlib},
26322632
or \libheaderref{cwchar}.

0 commit comments

Comments
 (0)