4 ms·
If the language supports untagged unions, it isn't strongly typed. With very few exceptions.
by TheLoneWolfling 12y ago
If the language supports untagged unions, it isn't strongly typed. With very few exceptions.
- tomp 12y agoUntagged unions between two non-pointer types with the same representation (same number of bits) are perfectly safe, they are just ordinary bit-casts.