Manually allocate delegate?
Tofu Ninja via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 13 12:19:33 PDT 2015
On Sunday, 12 July 2015 at 12:56:17 UTC, Adam D. Ruppe wrote:
> On Sunday, 12 July 2015 at 08:38:01 UTC, Tofu Ninja wrote:
>> Is it even possible?
>
> Yes, though you need to use an entirely different approach for
> closures: make a struct.
>
> [...]
This seems like a reasonable solution, even though it's not
perfect, it seems like the only valid way to do this. Tnx :)
More information about the Digitalmars-d-learn
mailing list