# cxxVariableVolatile

The <cxxVariableVolatile> element marks this variable as volatile.

## Description

The <cxxVariableVolatile> element has no children. <cxxVariableVolatile> must have the attributes name and value both of which are set to "volatile".

## Example

    <cxxVariableDefinition>
        <cxxVariableAccessSpecifier value="public"/>
        <cxxVariableVolatile/>
        <cxxVariableDeclaredType>IMPORT_C const <apiRelation href="e32def_8h.xml#e32def_8h_1a9357a8e9552b6131a89fb3de94bff80a">TInt8</apiRelation></cxxVariableDeclaredType>
        <cxxVariableScopedName/>
        <cxxVariablePrototype>IMPORT_C const TInt8 KLinkedFontDrive</cxxVariablePrototype>
        <cxxVariableNameLookup>KLinkedFontDrive</cxxVariableNameLookup>
        <cxxVariableAPIItemLocation>
            <cxxVariableDeclarationFile name="filePath" value="C:/src/include/fntstore.h"/>
            <cxxVariableDeclarationFileLine name="lineNumber" value="66"/>
        </cxxVariableAPIItemLocation>
    </cxxVariableDefinition>

## Contained by

cxxVariableDefinition

## Contains

## Content Model

No content.

## Inheritance

topic/state reference/state apiRef/apiQualifier apiValue/apiQualifier cxxVariable/cxxVariableVolatile

Parent topic: cxxVariable module