This applies to C++. Now I remember Stroustrup saying something about static.As a static local, it will be initialised at the same point as it currently is - that is, when execution passes through this line.
At least as far as the language model is concerned.
Statistics: Posted by dthacher — Thu Feb 08, 2024 7:17 pm