void

void — An empty element in a function synopsis indicating that the function in question takes no arguments.

Synopsis

void ::=

  • empty

Attributes

Common attributes and common linking attributes.

No additional attributes.

Description

The void element indicates explicitly that a function has no arguments.

Processing expectations

The void element produces generated text that indicates the function has no arguments (or returns nothing). The exact generated text may vary. One common result is void.

Attributes

Common attributes and common linking attributes.

any attribute

Any attribute in any other explicit namespace

Parents

These elements contain void: constructorsynopsis, destructorsynopsis, funcdef, funcprototype, macroprototype, methodsynopsis.

See Also

Related elements: funcdef, funcparams, funcprototype, funcsynopsisinfo, function, paramdef, parameter, returnvalue, varargs.