StackOverflow Questions for Tag: variadic-functions

Mark Pauley
Mark Pauley

Reputation: 1485

How can I guarantee type safety of variadic arguments?

Score: 3

Views: 513

Answers: 4

Read More
Peter Štieber
Peter Štieber

Reputation: 43

Define a custom function to push one or more values into an array and modify the original array (without array_push())

Score: 3

Views: 150

Answers: 6

Read More
Kevin Burke
Kevin Burke

Reputation: 64994

Concatenate two slices in Go

Score: 847

Views: 688254

Answers: 11

Read More
Nick Mack
Nick Mack

Reputation: 75

Variadic functions arguments bad order in some cases

Score: 0

Views: 121

Answers: 1

Read More
Torben Conto
Torben Conto

Reputation: 27

What is the best way to take in optional parameters in this case?

Score: 0

Views: 59

Answers: 1

Read More

How to force linkage to older libc `fcntl` instead of `fcntl64`?

Score: 15

Views: 6758

Answers: 3

Read More
iBug
iBug

Reputation: 37297

printf() giving identical output on x86-64 platforms even when arguments are swapped

Score: 1

Views: 201

Answers: 1

Read More
Grumblesaurus
Grumblesaurus

Reputation: 3119

Type Safety - A Generic Array is created for varargs parameter - Is this a good solution?

Score: 1

Views: 2735

Answers: 3

Read More
Nathan Arthur
Nathan Arthur

Reputation: 9106

PHP Spread Syntax in Array Declaration

Score: 54

Views: 78133

Answers: 5

Read More
Brett Rossier
Brett Rossier

Reputation: 3482

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

Score: 59

Views: 43029

Answers: 15

Read More
Tony Shi
Tony Shi

Reputation: 19

functional conversion with variable number of args to something plain in C++

Score: -1

Views: 100

Answers: 1

Read More
resolveaswontfix
resolveaswontfix

Reputation: 1175

Best Way to Store a va_list for Later Use in C/C++

Score: 9

Views: 16531

Answers: 6

Read More
Michael
Michael

Reputation: 1522

Why doesn't autoboxing overrule varargs when using method overloading in Java 7?

Score: 19

Views: 2770

Answers: 3

Read More
Mark Dominus
Mark Dominus

Reputation: 1808

How to call vsprintf multiple times on the same argument list?

Score: 3

Views: 114

Answers: 1

Read More
executifs
executifs

Reputation: 1178

Multiple object types for varargs in a method prototype?

Score: 18

Views: 13140

Answers: 6

Read More
NOURDDINE BENYAHYA
NOURDDINE BENYAHYA

Reputation: 35

Understanding va_list in Variadic Functions: gp_offset Incrementation, fp_offset Fixation, and Garbage Values

Score: 1

Views: 443

Answers: 2

Read More
Joe DiNottra
Joe DiNottra

Reputation: 1018

How can I define a vararg with three types in Java?

Score: 2

Views: 82

Answers: 2

Read More
Matthias Preu
Matthias Preu

Reputation: 803

Functional options - Sharing options between different types

Score: 3

Views: 776

Answers: 3

Read More
johron
johron

Reputation: 13

Segmentation fault encountered at `ret void` in llvm-ir instructions

Score: 1

Views: 35

Answers: 1

Read More
dde
dde

Reputation: 192

Why does this C function use of stdarg breaks when compiled by clang for Apple Silicon?

Score: 1

Views: 107

Answers: 1

Read More
PreviousPage 1Next