
21 Mar
2017
21 Mar
'17
12:44 a.m.
Vladimir Batov wrote:
2) What about std::iswspace? Does it also need static_cast?
No, the wide functions do not require a cast. In practice, wchar_t is an unsigned type anyway. (It's technically required to be the same as signed char, but I doubt one can encounter that case in practice, and even then, I think that passing it to iswspace is required to work.)