Any workaround for "closures are not yet supported in CTFE"?
stanislav.blinov at gmail.com
Wed Dec 8 12:17:42 UTC 2021
On Wednesday, 8 December 2021 at 08:07:59 UTC, Petar Kirov
> interface ICallable
> void opCall() const;
> alias Action = void delegate();
> struct A
> Action dg;
At this point why not just call a spade a spade and store an
array of ICallables directly? :) I mean, why store fat pointers
to fat pointers?
More information about the Digitalmars-d-learn