Category: C++ tagged unions continued
-
C++ tagged unions continued
I have received indirect confirmation that using structs with tagged unions in C++ is not object oriented, as I suspected, and is most likely a poor way of doing things. This is a C method, not C++. No objects, no encapsulation. Not my idea to do it like that anyways. My idea used nice C++…