[Issue 14421] Variadic args array force on heap
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Apr 12 02:49:25 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14421
--- Comment #4 from John Colvin <john.loughran.colvin at gmail.com> ---
(In reply to yebblies from comment #3)
> Is there a reason you can't overload and forward the variadic version to the
> non-variadic after calling dup?
I don't understand how that would help.
What I'm concerned about is if making the variadic array argument creates a GC
allocation, then the .dup makes another one.
--
More information about the Digitalmars-d-bugs
mailing list