Difference between revisions of "cpp/header/cstdarg"
From cppreference.com
m (Added Spanish link) |
|||
Line 14: | Line 14: | ||
{{dsc inc | cpp/utility/variadic/dsc va_end}} | {{dsc inc | cpp/utility/variadic/dsc va_end}} | ||
{{dsc end}} | {{dsc end}} | ||
+ | |||
+ | {{rev begin}} | ||
+ | {{rev| This header is a [[cpp/freestanding|freestanding]] header.}} | ||
+ | {{rev end}} | ||
===Synopsis=== | ===Synopsis=== |
Revision as of 20:14, 15 September 2022
This header was originally in the C standard library as <stdarg.h>.
This header provides support for C-style variadic functions.
Types | |
holds the information needed by va_start, va_arg, va_end, and va_copy (typedef) | |
Macros | |
enables access to variadic function arguments (function macro) | |
accesses the next variadic function argument (function macro) | |
(C++11) |
makes a copy of the variadic function arguments (function macro) |
ends traversal of the variadic function arguments (function macro) |
This header is a freestanding header. |
Synopsis
namespace std { using va_list = /*see description*/ ; } #define va_arg(V, P) /*see description*/ #define va_copy(VDST, VSRC) /*see description*/ #define va_end(V) /*see description*/ #define va_start(V, P) /*see description*/