by IshKebab · 6mo ago · 0 comments
I write "in general" because, as with other forms of memory reinterpretation (memcpy or copy through a character type), evaluating a trap representation triggers UB.
[0] the C meaning of an object, not the C++ one
I would argue that most languages only have one compiler so it doesn't matter what is in the specification.