# cxxFunctionDestructor

Identifies a function as a destructor.

## Description

This element is present when the function is a destructor. This has two mandatory attributes; name and value that default to `"destructor"`.

A function that uses the `cxxFunctionDestructor` element shall not use the `cxxFunctionConstructor` element

See ISO/IEC 14882:2003(E) 12.4 Destructors [class.dtor]

## Contained by

cxxFunctionDefinition

## Contains

## Content Model

No content.

## Inheritance

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

Parent topic: cxxFunction module