C++ allows us to declare various forms of non-local objects: they usually live throughout the execution of the whole program. In this article, we’ll look at global variables, dynamic, and thread-local objects. We’ll also consider new features for safe initialization C++20. Storage duration and Non-local Objects in C++ by Bartlomiej Filipek From the article: …