cxxFunctionConst

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

Description

This element is present when the function has a const 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() const;
};

Then function g would have the cxxFunctionConst element:

<cxxFunctionConst />

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

<cxxFunctionConst name="const" value="const" />

Contained by

cxxFunctionDefinition

Contains

Content Model

No content.

Inheritance

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