# cxxFunctionConstructor

Identifies a function as a constructor.

## Description

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

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

See ISO/IEC 14882:2003(E) 12.1 Constructors [class.ctor]

## Contained by

cxxFunctionDefinition

## Contains

## Content Model

No content.

## Inheritance

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

Parent topic: cxxFunction module