Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/header/cstdarg"

From cppreference.com
< cpp‎ | header
m (Update links.)
(synopsis)
Line 14: Line 14:
 
{{dsc inc | cpp/utility/variadic/dsc va_end}}
 
{{dsc inc | cpp/utility/variadic/dsc va_end}}
 
{{dsc end}}
 
{{dsc end}}
 +
 +
===Synopsis===
 +
{{source|1=
 +
namespace std {
 +
  using va_list = /* implementation-defined */ ;
 +
}
 +
 +
#define va_arg(V, P) /* implementation-defined */
 +
#define va_copy(VDST, VSRC) /* implementation-defined */
 +
#define va_end(V) /* implementation-defined */
 +
#define va_start(V, P) /* implementation-defined */
 +
}}

Revision as of 11:33, 9 November 2016

 
 
Standard library headers
 

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) [edit]

Macros

enables access to variadic function arguments
(function macro) [edit]
accesses the next variadic function argument
(function macro) [edit]
(C++11)
makes a copy of the variadic function arguments
(function macro) [edit]
ends traversal of the variadic function arguments
(function macro) [edit]

Synopsis

namespace std {
  using va_list = /* implementation-defined */ ;
}
 
#define va_arg(V, P) /* implementation-defined */
#define va_copy(VDST, VSRC) /* implementation-defined */
#define va_end(V) /* implementation-defined */
#define va_start(V, P) /* implementation-defined */