How to define delegate what returns ref?

Oleg B code.viator at gmail.com
Fri Aug 28 13:08:21 UTC 2020


On Friday, 28 August 2020 at 11:50:35 UTC, kinke wrote:
> On Friday, 28 August 2020 at 11:46:15 UTC, Oleg B wrote:
>> How to do this more clearly?
>
> alias Dg = ref int delegate();
> Dg foo;

Thanks!


More information about the Digitalmars-d-learn mailing list