How do you cope with signed char -> int issues with standard library?
问题 This is a really long-standing issue in my work, that I realize I still don't have a good solution to... C naively defined all of its character test functions for an int: int isspace(int ch); But char's are often signed, and a full character often doesn't fit in an int, or in any single storage-unit that used for strings******. And these functions have been the logical template for current C++ functions and methods, and have set the stage for the current standard library. In fact, they're