[cfe-dev] confusion with character types

Bruce Stephens bruce.r.stephens at gmail.com
Thu Oct 14 06:11:54 PDT 2010


Jochen Wilhelmy <j.wilhelmy-KvP5wT2u2U0 at public.gmane.org> writes:

[...]

> So my question: Is there a paricular reason why the standard stream 
> interprets signed char and
> unsigned char as characters instead of numbers?

That seems to me to be the better interpretation.  Specifically, it
would be surprising (to me) if

	std::cout << "Hello world" << '\n';

caused "Hello world10" to be displayed.

[...]




More information about the cfe-dev mailing list