News for hackers. Stuff that matters.
Re:Learning that you can use unions in C for grouping things... by pjmlp on Sunday August 01, 2021 @12:26PM (#28027476)
Triggering UB is a compiler error in constexpr code.

https://shafik.github.io/c++/undefined%20behavior/2019/05/11...

Re:Learning that you can use unions in C for grouping things... by sesuximo on Sunday August 01, 2021 @12:31PM (#28027521)
True, you’ll hopefully get a compiler error.