dlang.org/spec/function.html#pure-functions example

Nick Treleaven nick at geany.org
Fri Oct 13 09:57:15 UTC 2023


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


More information about the Digitalmars-d-learn mailing list