On 10/18/18 1:17 PM, Atila Neves wrote:On Monday, 15 October 2018 at 18:46:45 UTC, Manu wrote:1. shared should behave exactly like const, except in addition to inhibiting write access, it also inhibits read access.How is this significantly different from now? ----------------- shared int i; ++i;i = i + 1; // OK(!) -Steve
Sigh... I'm sure there's a practical reason for it, but still.