diff -r d8fccb2cd802 -r 468f4c8d3d5b DITA-OT_CXX_Plugin/cxxapiref/doc/cxxFunction/cxxFunctionVolatile.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DITA-OT_CXX_Plugin/cxxapiref/doc/cxxFunction/cxxFunctionVolatile.dita Wed Aug 11 14:49:30 2010 +0100 @@ -0,0 +1,32 @@ + + + + + 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" /> +
+
+
+
+
+
+ +