constant
<cwchar> <cwctype>

WEOF

Wide end-of-file
Macro definition of type wint_t that expands into a constant expression that does not match any member of the extended character set.

Unlike its narrow character counterpart (EOF), this value is not necessarily a negative value.

It is used to indicate end-of-file or some other failure conditions on wide oriented operations.

In C++, this macro corresponds to the value of char_traits<wchar_t>::eof().

See also