Spec-Zone.ru › C++

va_end

Defined in header <cstdarg>
void va_end( std::va_list ap );

The va_end macro performs cleanup for an ap object initialized by a call to va_start or va_copy. va_end may modify ap so that it is no longer usable.

If there is no corresponding call to va_start or va_copy, or if va_end is not called before a function that calls va_start or va_copy returns, the behavior is undefined.

Parameters

ap - an instance of the va_list type to clean up

Expanded value

(none)

See also

va_start
enables access to variadic function arguments
(function macro)
va_copy
(C++11)
makes a copy of the variadic function arguments
(function macro)
va_arg
accesses the next variadic function argument
(function macro)
C documentation for va_end

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/utility/variadic/va_end

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API