Quote:
Originally posted by FillYourBrain
I know I know. But the project is a C to C++ conversion and there is a lot of union code in there. It would have been nice to be able to do that. In either case, it was an obscure part of C++ that I did not know.
I also did some research into unions in C++ and found that they can have member functions including constructors and destructors. They can also have private and public members. Man, that's freaky!
why are you converting it? if it works fine, leave well enough alone.