On Sunday, 13 July 2014 at 15:31:51 UTC, bearophile wrote:
Joseph Rushton Wakeling:

Anyway, here's my thinking behind the opCall idea. One of the major shifts of the move to classes is that, suddenly, all of these entities have to be explicitly allocated.

So creating a random number generator can't be @nogc?


std.typecons.scoped _should_ still work - I actually suggest adding unit tests for this as it is quite an important use case.

Reply via email to