Top "Variadic-functions" questions

A function is variadic if it can accept a variable number of arguments; that is, its arity is not fixed.

how to pass variable arguments to another method?

i have googled and came to know that how to use the variable arguments. but i want to pass my …

iphone ios objective-c variadic-functions
How to work with varargs and reflection

Simple question, how make this code working ? public class T { public static void main(String[] args) throws Exception { new T().…

java reflection variadic-functions
How to write a variadic template recursive function?

I'm trying to write a variadic template constexpr function which calculates sum of the template parameters given. Here's my code: …

c++ c++11 recursion variadic-templates variadic-functions
Java multiple variable length argument

I have not seen the particular thing before today when working on variable length argument For e.g., There is …

java android methods variadic-functions method-declaration
What is the format of the x86_64 va_list structure?

Anyone have a reference for the representation of va_list in the x86_64 ABI (the one used on Linux)? I'm …

c linux x86-64 variadic-functions abi
How are variable arguments implemented in gcc?

int max(int n, ...) I am using cdecl calling convention where the caller cleans up the variable after the callee …

c gcc variadic-functions calling-convention
Inserting a variadic argument list into a vector?

Forgive me if this has been answered already, as I couldn't find it... Basically I have an object that needs …

c++ c++11 variadic-functions
Can a Java varargs be null?

I found myself checking for this and asking if it's necessary. I have code like this: public Object myMethod(Object... …

java variadic-functions null-check
In scala can I pass repeated parameters to other methods?

Here is something I can do in java, take the results of a repeated parameter and pass it to another …

scala parameters methods variadic-functions
What exactly is va_end for? Is it always necessary to call it?

va_end - Macro to reset arg_ptr. After accessing a variable argument list, the arg_ptr pointer is usually …

c++ c variadic-functions