Union of same type in C++
No, this won't cause any issues. The reason you don't see it more often is that it's pointless - both names refer to the same value of the same type.
No, this won't cause any issues. The reason you don't see it more often is that it's pointless - both names refer to the same value of the same type.