[ub] Type punning to avoid copying (was: unions and undefined behavior)

Jens Maurer Jens.Maurer at gmx.net
Thu Jul 25 08:52:26 CEST 2013


On 07/25/2013 03:31 AM, Lawrence Crowl wrote:
> (Personally, I detest the fact that we have overloaded "characters" with "raw
> memory",

Agreed. "unsigned char" sounds like a much better thing for raw memory.

> but that's not likely to get fixed any time soon.)

We had a core issue once where I was told that having "char" in the mix
is so pre-existing, we can't do anything about it.

Thanks,
Jens


More information about the ub mailing list