C++ Logo

sg12

Advanced search

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

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Thu, 25 Jul 2013 08:52:26 +0200
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

Received on 2013-07-25 08:58:06