cxxFunctionVolatile

Used to describe a function with a volatile cv-qualifier.

Description

This element is present when the function has a volatile cv-qualifier . This has two mandatory attributes; name and value (see example below).

See ISO/IEC 14882:2003(E) 7.1.5.1 The cv-qualifiers [dcl.type.cv]

Example

Given this code:

struct X {
    void g() volatile;
};

Then function g would have the cxxFunctionVolatile element:

<cxxFunctionVolatile />

If the mandatory attributes are present they must be set thus:

<cxxFunctionVolatile name="volatile" value="volatile" />

Contained by

Contains

Content Model

No content.

Inheritance

topic/state reference/state apiRef/apiQualifier apiOperation/apiQualifier cxxFunction/cxxFunctionVolatile