3 ms·
I thought that type punning via union is against the standard. I personally do not think it should be ... It's a very handy tool.
by asveikau 4y ago
I thought that type punning via union is against the standard.
I personally do not think it should be ... It's a very handy tool.
- electroly 4y agoI think it may be a GNU extension to explicitly allow it, but I'm no language lawyer. This header is from glibc; it may explain why it's not available on some platforms.