| 1 |
/* Copyright (C) 2015 Povilas Kanapickas <[email protected]> |
| 2 |
|
| 3 |
This file is part of cppreference-doc |
| 4 |
|
| 5 |
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 |
| 6 |
Unported License. To view a copy of this license, visit |
| 7 |
http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative |
| 8 |
Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. |
| 9 |
|
| 10 |
Permission is granted to copy, distribute and/or modify this document |
| 11 |
under the terms of the GNU Free Documentation License, Version 1.3 or |
| 12 |
any later version published by the Free Software Foundation; with no |
| 13 |
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. |
| 14 |
*/ |
| 15 |
|
| 16 |
#ifndef CPPREFERENCE_CSTDARG_H |
| 17 |
#define CPPREFERENCE_CSTDARG_H |
| 18 |
|
| 19 |
namespace std { |
| 20 |
|
| 21 |
struct va_list; // actually a typedef |
| 22 |
|
| 23 |
} // namespace std |
| 24 |
|
| 25 |
void va_start(std::va_list ap, int parm_n); // actually a macro |
| 26 |
#define va_arg(x, T) T() |
| 27 |
#if CPPREFERENCE_STDVER>= 2011 |
| 28 |
void va_copy(std::va_list desc, std::va_list src); // actually a macro |
| 29 |
#endif |
| 30 |
void va_end(std::va_list ap); // actually a macro |
| 31 |
|
| 32 |
|
| 33 |
#endif // CPPREFERENCE_CSTDARG_H |