2 Oct
2020
2 Oct
'20
10:55 a.m.
Andrzej Krzemienski wrote:
My only complaint is that unsigned char and signed char (and thus uint8_t and int8_t) are streamed as their char values, and thus as their unadorned ASCII characters. Since they can be non-printable values, I consider this behavior undesirable.
But should this complaint target PFR or C++ in general?
Iostreams in general. Outputting `unsigned char*` as a null-terminated string is especially broken. I'm sure this made sense to someone in 1995.