View source code
Display the source code in core/stdc/stdarg.d from which this page was generated on github.
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 local clone.

core.stdc.stdarg.va_arg - multiple declarations

Function va_arg

T va_arg(T) (
  va_list ap
);

Function va_arg

void va_arg(T) (
  va_list apx,
  ref T parmn
);

Function va_arg

void va_arg (
  va_list apx,
  TypeInfo ti,
  void* parmn
);

Function va_arg

T va_arg(T) (
  va_list ap
);

Function va_arg

void va_arg(T) (
  va_list apx,
  ref T parmn
);

Function va_arg

void va_arg (
  va_list apx,
  TypeInfo ti,
  void* parmn
);

Function va_arg

Retrieve and return the next value that is type T.

T va_arg(T) (
  ref va_list ap
);

Function va_arg

Retrieve and return the next value that is type T. This is the preferred version.

void va_arg(T) (
  ref va_list ap,
  ref T parmn
);

Function va_arg

Retrieve and store through parmn the next value that is of TypeInfo ti. Used when the static type is not known.

void va_arg (
  ref va_list ap,
  TypeInfo ti,
  void* parmn
);

Function va_arg

Retrieve and return the next value that is type T. Should use the other va_arg instead, as this won't work for 64 bit code.

T va_arg(T) (
  ref va_list ap
);

Function va_arg

Retrieve and return the next value that is type T. This is the preferred version.

void va_arg(T) (
  ref va_list ap,
  ref T parmn
);

Function va_arg

Retrieve and store through parmn the next value that is of TypeInfo ti. Used when the static type is not known.

void va_arg (
  ref va_list ap,
  TypeInfo ti,
  void* parmn
);

Authors

Walter Bright, Hauke Duden

License

Boost License 1.0.