Union declaration
Min standard notice:
A union is a special class type that can hold only one of its non-static data members at a time.
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| CWG 1940 | C++11 | anonymous unions only allowed non-static data members | static_assert also allowed |