Top "Variadic-functions" questions

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

Spread Syntax vs Rest Parameter in ES2015 / ES6

I am confused about the spread syntax and rest parameter in ES2015. Can anybody explain the difference between them with …

javascript ecmascript-6 variadic-functions spread-syntax rest-parameters
Java 3 dots parameter (varargs) behavior when passed no arguments or null

I tried this and get weird behavior from JAVA, can someone explain this for me? boolean testNull(String... string) { if(…

java variadic-functions ellipsis
scala: How to pass an expanded list as varargs into a method?

When creating a Map in scala, I call Map(entities.map{e => e.id -> e}), and I …

scala map variadic-functions
Populating a va_list

Is there a way to create a va_list from scratch? I'm trying to call a function that takes a …

c variadic-functions
Specifying one type for all arguments passed to variadic function or variadic template function w/out using array, vector, structs, etc?

I'm creating a function (possibly member function, not that it matters... maybe it does?) that needs to accept an unknown …

c++ templates parameters c++11 variadic-functions
Java two varargs in one method

Is there any way in java, to create a method, which is expecting two different varargs? I know, with the …

java arrays variadic-functions
Ellipsis notation in C#?

Where can I get info about implementing my own methods that have the ellipsis notation, e.g. static void my_…

c# variadic-functions ellipsis
How do I handle an unspecified number of parameters in Scheme?

For example ((fn-stringappend string-append) "a" "b" "c") I know how to handle this (f x y z). But what if …

function scheme variadic-functions variadic
Is it possible to write a varargs function that sends it argument list to another varargs function?

Possible Duplicate: C Programming: Forward variable argument list. What I'd like to do is send data to a logging library (…

c++ variadic-functions
How can I create a function with a variable number of arguments?

How can I create a function with a variable number of arguments in Rust? Like this Java code: void foo(…

rust variadic-functions