Construction Unions: A C++ Challenge
No, this Item isn't about organizing carpenters and bricklayers. Rather, it's about deciding between what's cool and what's uncool, good motivations gone astray, and the consequences of subversive activities carried on under the covers. It's about getting around the C++ rule of using constructed objects as members of unions.
What are unions, and what purpose do they serve?
What kinds of types cannot be used as members of unions? Why do these limitations exist? Explain.