Value | Meaning |
---|---|
no | Function is not variadic. |
c | Function is a _C-style variadic function, which uses core.stdc.stdarg |
d | Function is a _D-style variadic function, which uses __argptr and __arguments. |
typesafe | Function is a typesafe variadic function. |
enum Variadic
void func() {} static assert(variadicFunctionStyle!func == Variadic.no); extern(C) int printf(const char*, ...); static assert(variadicFunctionStyle!printf == Variadic.c);
Determines what kind of variadic parameters function has.