21 Mar
2017
21 Mar
'17
12:55 a.m.
On 2017-03-21 11:44, Peter Dimov via Boost wrote:
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.)
Many thanks, Peter. No wonder I found nothing on the net... But thought I'd better ask. :-) Thanks again.