# cxxFunctionDefinition

Describes all of the details of a C++ function declaration.

## Description

The `<cxxFunctionDefinition>` element describes all of the detail of a C++ function declaration including the function type, parameter declarations and const-volatile specifier. It also contains information about accessibilty, virtualness and so on.

The content model reflects the underlying complexity of C++ function declarations.

## Contained by

cxxFunctionDetail

## Contains

apiDefNote, cxxFunctionAPIItemLocation cxxFunctionAccessSpecifier cxxFunctionConst cxxFunctionConstructor cxxFunctionDeclaredType cxxFunctionDestructor cxxFunctionExplicit cxxFunctionInline cxxFunctionNameLookup cxxFunctionParameters cxxFunctionPrototype cxxFunctionPureVirtual cxxFunctionReimplemented cxxFunctionReturnType cxxFunctionScopedName cxxFunctionStorageClassSpecifierExtern cxxFunctionStorageClassSpecifierMutable cxxFunctionStorageClassSpecifierStatic cxxFunctionTemplateParameters cxxFunctionVirtual

## Content Model

(cxxFunctionAccessSpecifier (optional) then cxxFunctionStorageClassSpecifierExtern (optional) then cxxFunctionStorageClassSpecifierStatic (optional) then cxxFunctionStorageClassSpecifierMutable (optional) then cxxFunctionConst (optional) then cxxFunctionExplicit (optional) then cxxFunctionInline (optional) then cxxFunctionVirtual (optional) then cxxFunctionPureVirtual (optional) then cxxFunctionConstructor (optional) then cxxFunctionDestructor (optional) then cxxFunctionDeclaredType (optional) then cxxFunctionReturnType (optional) then cxxFunctionScopedName (optional) then cxxFunctionPrototype (optional) then cxxFunctionNameLookup (optional) then cxxFunctionReimplemented (optional) then cxxFunctionTemplateParameters (optional) then cxxFunctionParameters (optional) then apiDefNote, then cxxFunctionAPIItemLocation (optional) )

## Inheritance

topic/section reference/section apiRef/apiDef apiOperation/apiOperationDef cxxFunction/cxxFunctionDefinition

Parent topic: cxxFunction module