2 ms·
I have implemented this using the gcc/clang “transparent union” extension, which eliminates the need for explicit casting or helpers. https://gcc.gnu.org/onlin
by fanf2 4y ago
I have implemented this using the gcc/clang “transparent union” extension, which eliminates the need for explicit casting or helpers.
https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#transparent_union https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.ht...