The conclusion is simply wrong. `union` should not be used for type-punning in C++, or in C code which might be compiled by a C++ compiler.
I can't downvote posts yet, but if you have the ability, consider it. This is clearly LLM slop without human review.