Use case: eliminate hidden allocations in buildPath
Jacob Carlborg
doob at me.com
Thu Dec 5 00:03:37 PST 2013
On 2013-12-05 04:14, Michel Fortin wrote:
> Haha, no. That's because buildPath's arguments are (const(C[])[]
> paths...) with a "..." at the end. Can we put an argument after the
> variadic argument? I didn't check, but I though it was impossible...
> thus the allocator as the first argument.
No, that's not possible. One could think it would be, as long as there
is no conflict in the types.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list