Eric Blake wrote:
Not only can wchar_t can be either signed or unsigned, you also have to worry about platforms where it is only 16 bits, such as cygwin; on the other hand, wint_t is always 32 bits, but you still have the issue that it can be either signed or unsigned.
What platform uses unsigned wide ints? Is that even posix compat?