[diff.wchar.t]

# Annex C (informative) Compatibility [[diff]](./#diff)

## C.8 C standard library [[diff.library]](diff.library#diff.wchar.t)

### C.8.3 Modifications to definitions [[diff.mods.to.definitions]](diff.mods.to.definitions#diff.wchar.t)

#### C.8.3.2 Type wchar_t [diff.wchar.t]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/compatibility.tex#L3721)

The type wchar_t is a distinct type rather than a typedef to an
existing integral type[.](#1.sentence-1)

The token wchar_t is a keyword in C++ ([[lex.key]](lex.key "5.12 Keywords"))[.](#1.sentence-2)

It does not appear as a macro or type name defined in any of[<cstddef>](cstddef.syn#header:%3ccstddef%3e "17.2.1 Header <cstddef> synopsis [cstddef.syn]"),[<cstdlib>](cstdlib.syn#header:%3ccstdlib%3e "17.2.2 Header <cstdlib> synopsis [cstdlib.syn]"),
or [<cwchar>](cwchar.syn#header:%3ccwchar%3e "28.7.3 Header <cwchar> synopsis [cwchar.syn]")[.](#1.sentence-3)
