# cxxUnionAccessSpecifier

The <cxxUnionAccessSpecifier> element describes the level of access the union allows.

## Description

The <cxxUnionAccessSpecifier> element does not have any children. <cxxUnionAccessSpecifier> uses the attribute value to describe the level of access a union has. value can be set to "public", "protected" or "private"; the default is "public".

## Example

    <cxxUnionAccessSpecifier value="public"/>

## Contained by

cxxUnionDefinition

## Contains

## Content Model

No content.

## Inheritance

topic/state reference/state apiRef/apiQualifier apiClassifier/apiQualifier cxxUnion/cxxUnionAccessSpecifier

Parent topic: cxxUnion module