On Sunday, 28 May 2017 at 17:54:30 UTC, WebFreak001 wrote:
Imagine you wrote a functionvoid foo(ref int a) { if (std.random.uniform(0, 10) == 0) a = 0; // Actual code doing something } [...]
Syntax wise we could force you to say foo(&something). Which fits perfectly in the existing pointer syntax.