Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.


The vararg module is intended to facilitate vararg manipulation in D. It should be interface compatible with the C module "stdarg," and the two modules may share a common implementation if possible (as is done here).
Walter Bright, Hauke Duden
alias va_arg = va_arg;
void va_arg()(ref va_list ap, TypeInfo ti, void* parmn);
Retrieve and store through parmn the next value that is of TypeInfo ti. Used when the static type is not known.