[Joke] C++ and D namings

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Thu Jan 21 16:09:01 UTC 2021


On Wednesday, 20 January 2021 at 15:10:09 UTC, Steven 
Schveighoffer wrote:
> I should say, it's undefined behavior if you ever use the 
> immutable value and then mutate the value (just like if you 
> cast it).

It would be worth mentioning these issues on the page that 
describes union.

I am hoping for an overhaul of union. I specifically don't want 
to see traced pointers in a union unless it is type-info 
compatible. This is currently blocking precise collection and 
destruction...



More information about the Digitalmars-d mailing list