[Issue 15417] Wrong parameter passing for variadic nested functions within aggregate
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Dec 26 02:12:13 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15417
--- Comment #4 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Walter Bright from comment #3)
> _argptr and _arguments are there for "D style variadics". core.stdc.stdarg
> is for "C style variadics". I.e. using va_arg for C-style will not work.
I beg your pardon?
The _argptr variable is computed from va_start, so is perfectly valid for use
in va_arg. See for example, std.format.doFormat!()
--
More information about the Digitalmars-d-bugs
mailing list