7 ms·
> wchar_t is a keyword! In C, wchar_t is a typedef, which in C++ would cause the problem that overloads could non-portably conflict with one of the builtin int
by layer8 3y ago
> wchar_t is a keyword!
In C, wchar_t is a typedef, which in C++ would cause the problem that overloads could non-portably conflict with one of the builtin integer types. That’s why wchar_t was made a fundamental type, and thus a keyword like all the other integer types.