Skip to main content

Mojo module

variadics

Implements the VariadicList and VariadicPack types.

These are Mojo built-ins, so you don't need to import them.

Structs

  • Variadic: A namespace for variadic utilities.
  • VariadicList: A utility class to access homogeneous variadic function arguments.
  • VariadicListMem: A utility class to access variadic function arguments of memory-only types that may have ownership. It exposes references to the elements in a way that can be enumerated. Each element may be accessed with elt[].
  • VariadicPack: A utility class to access heterogeneous variadic function arguments.

Was this page helpful?