[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:21:47 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15417

--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Mathias Lang from comment #2)
>     assert(char.init == va_arg!(char)(arglist));

Is it the same if you do.

 char buf;
 va_arg(ap, arglist[0], &buf);
 assert(char.init == buf);

--


More information about the Digitalmars-d-bugs mailing list