Variadic function: Difference between revisions

Content deleted Content added
Line 13:
To portably implement variadic functions in the C programming language, the standard [http://www.opengroup.org/onlinepubs/009695399/basedefs/stdarg.h.html <tt><stdarg.h></tt>] header file should be used. The older [http://www.opengroup.org/onlinepubs/007908799/xsh/varargs.h.html <tt><varargs.h></tt>] header has been deprecated in favor of [http://www.opengroup.org/onlinepubs/009695399/basedefs/stdarg.h.html <tt><stdarg.h></tt>].
 
The variadic function feature is going to be present in the upcoming ''C++'' language standard, [[C++0x]]; this feature is called "Variadic templates". This allows tothe createcreation templatesof with variable number ofvariadic template parameters,classes whichand canvariadic be also used to create a function with variable number oftemplate argumentsfunctions:
 
template<typename T>