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