cxxFunctionStorageClassSpecifierStatic

Describes a function with static linkage.

Description

This element is present when the function has static linkage. it has two mandatory attributes; name and value (see example below).

See ISO/IEC 14882:2003(E) 7.1.1 Storage class specifiers [dcl.stc] and 3.5 Program and linkage [basic.link]

Example

Given this code:

static char* f();

Then function f would have the element:

<cxxFunctionStorageClassSpecifierStatic/>

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

<cxxFunctionStorageClassSpecifierStatic name="static" value="static"/>

Contained by

cxxFunctionDefinition

Contains

Content Model

No content.

Inheritance

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