On Thursday, 1 December 2016 at 19:14:51 UTC, Dicebot wrote:
On Thursday, 1 December 2016 at 18:56:36 UTC, qznc wrote:
That is an interesting idea. Afaik, D does not allow to limit closure like this?


void i_only_accept_immutable_context (void delegate () immutable closure);

NB: it may have ton of bugs though, because delegate context suffers from type erasure in runtime

Reply via email to