Skip to main content
Version: 1.0

variadics

Implements the VariadicList, ParameterList and VariadicPack types.

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

Structs

  • ParameterList: A utility class to access homogeneous variadic parameters.
  • TypeList: A compile-time list of types conforming to a common trait.
  • Variadic: A namespace for variadic utilities.
  • VariadicList: 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.