Skip to main content
variadic

variadic

1 9.9
A function that accepts any number of inputs
  • adjective
  • /ˌvɛrɪˈædɪk/
  • Specialized
: variádico

Examples

  • Variadic templates, on the other hand, would benefit everybody.

    Blog text (10)
  • Even with the effort of a "final untangle" and moving to modules, it would be a comparatively quick improvement that beats all the fun I am planning to have with, say, variadic templates.

    Blog text (10)
  • A variadic function can accept any number of parameters, allowing for greater flexibility in programming.

  • In modern C++, variadic templates enable developers to write more generic and reusable code.

  • When using variadic functions, programmers can define a function that takes an arbitrary number of arguments.

Antonyms

163 1.8

Stays the same and cannot be changed

Surface Forms

variadic positive

Morphology

variadic = vary (semi-transparent) = vari + adic

The suffix '-adic' is not a common English suffix, making the derivation less transparent.

Etymology

The word variadic comes from the root vari- meaning 'varied' or 'different', the same root as in various and variable, plus the ending -adic that marks how many parts something has. So a variadic function can take a 'varied' number of arguments, which is why programmers use the word.