Extend the call site default argument expansion mechanism?
jmh530
john.michael.hall at gmail.com
Tue May 15 14:43:36 UTC 2018
On Tuesday, 15 May 2018 at 14:26:48 UTC, Yuxuan Shui wrote:
>> [snip]
>> Example:
>> https://run.dlang.io/is/RV2xIH
>
> Sadly with(WithAlloc!alloc) doesn't work. (If you have to use
> withAlloc.func everywhere, it kind of destroy the point,
> doesn't it?)
Yeah I know, I tried it, but couldn't figure out how to do the
with statement with it.
More information about the Digitalmars-d
mailing list