# cxxUnionDetail

The <cxxUnionDetail> element provides detailed information about the structure and behaviors of the C++ union.

## Description

The <cxxUnionDetail> element is defined within <cxxUnion>. In <cxxUnionDetail> the <example> and <section> elements are provided to support the current specific C++ API reference. A union body can contain declarations of the members of the union, such as variables, classes, structs, and functions.

## Contained by

cxxUnion

## Contains

apiDesc, apiImpl, cxxUnionDefinition example, section,

## Content Model

(cxxUnionDefinition (optional) then apiDesc, then (example, or section, or apiImpl, (any number) ))

## Inheritance

topic/body reference/refbody apiRef/apiDetail apiClassifier/apiClassifierDetail cxxUnion/cxxUnionDetail

Parent topic: cxxUnion module