Union declaration

A union is a special class type that can hold only one of its non-static data members at a time.

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
CWG 1940C++11anonymous unions only allowed non-static data membersstatic_assert also allowed

# See also