News for hackers. Stuff that matters.
Re:Switching from C++ to Rust by unnah on Tuesday March 14, 2023 @07:57AM (#35150093)
I don't know about the standard, but if cppreference.com is good enough: At https://en.cppreference.com/w/cpp/language/union it says "If two union members are standard-layout types, it's well-defined to examine their common subsequence on any compiler."

There are no comments on this comment yet.