Re:Learning that you can use unions in C for grouping things...
by oshiar53-0 on Sunday August 01, 2021 @09:37PM
(#28032024)
IMO you can still be explicit about field offsets by writing the struct in a usual way, and using static assertions to ensure offsets match the intended layout.
[ Parent
| on HN ]
There are no comments on this comment yet.