type

va_list

<cstdarg>
Type to hold information about variable arguments
This type is used as a parameter for the macros defined in cstdarg to retrieve the additional arguments of a function.

Each compiler may implement this type in its own way. It is only intended to be used as the type for the object used as first argument for the va_start, va_arg and va_end macros.

va_start is in charge of initializing an object of this type, so that subsequent calls to va_arg with it retrieve the additional arguments passed to the function.

Before a function that has initialized a va_list object with va_start returns, the va_end shall be executed.

See also