Boost logo

Boost :

Subject: Re: [boost] [Convert] std::isspace requires unsigned #28
From: Peter Dimov (lists_at_[hidden])
Date: 2017-03-21 00:44:52


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.)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk