Β§9.5 / 9 of C ++ 11 Standard (emphasis mine):
A union class is a union or class that has an anonymous union as a direct member. The merged class X has a bunch of options. If X is union , the non-static data member of X , which is not an anonymous union, is a member of variant X
Is the part in bold to say that between a union class, which is either a class or a union, only if it is a union, can it have a non-static variant member that is not an anonymous union? If so, why? And what is the practical difference in the code?
In fact, I am wondering if this statement meant: "If X is a unified class ...". Then that would make sense.
In any case, this item has been pushing me over the past few days, and I want to fully understand what he is saying.
source share