On Thursday, 12 July 2018 at 08:54:17 UTC, Simen Kjærås wrote:
Whether that means it's undefined behavior or the compiler
should statically disallow it is up for debate, I guess.
--
Simen
Honestly, half the reason I'm using it so enthusiastically is
that I want to emphasize that this is
On Wednesday, 11 July 2018 at 10:43:40 UTC, FeepingCreature wrote:
Destructors are not called for fields embedded in unions.
On the one hand this is a horrible, horrible hack. On the
other, whee!
Not only a horrible hack, but a bug, and something you really
can't rely on working in the
Destructors are not called for fields embedded in unions.
On the one hand this is a horrible, horrible hack. On the other,
whee!