-local variables, rather than the more common scope-local variables that the OP is referring to. The side effects of modifying global variables in a thread-unsafe way are very different from those of changing global state in a non-concurrent way.

C ++ глобальные переменные настолько плохи, насколько их считает мой профессор?

Ответы на вопрос(20)

Ваш ответ на вопрос