Template:cpp/string/byte/note unsigned char

Like all other functions from, the behavior of is undefined if the argument's value is neither representable as  nor equal to eof. To use these functions safely with plain s (or s), the argument should first be converted to :

Similarly, they should not be directly used with standard algorithms when the iterator's value type is or. Instead, convert the value to first: