Content deleted Content added
→Variable number of parameters: fix ref |
more refs |
||
Line 38:
The above function in C could then be called with different types and numbers of parameters such as:
:<code>
and
:<code>
[[C99]] introduced macros with a [[variadic macro|variable number of arguments]].<ref>[http://gcc.gnu.org/onlinedocs/gcc/Variadic-Macros.html Variadic Macros - Using the GNU Compiler Collection (GCC)]</ref>
[[C++11]] included the C99 preprocessor,<ref>Working draft changes for C99 preprocessor synchronization - http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1653.htm</ref> and also introduced templates with a [[variadic template|variable number of arguments]].<ref>{{cite web | title=Working Draft, Standard for Programming Language C++ | url=http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3337.pdf}}: 14.5.3 Variadic templates</ref>
===Java===
|