On Thursday, 12 October 2023 at 19:33:32 UTC, Paul wrote:
If **int x** is global mutable state, what does static mutable state look like?
In addition to Jonathan's reply, see: https://dlang.org/spec/function.html#local-static-variables
Nick Treleaven via Digitalmars-d-learn Fri, 13 Oct 2023 03:02:17 -0700
On Thursday, 12 October 2023 at 19:33:32 UTC, Paul wrote:
If **int x** is global mutable state, what does static mutable state look like?
In addition to Jonathan's reply, see: https://dlang.org/spec/function.html#local-static-variables