singleton-not-global-static-object-cpp

Status: IN

In C++, Singleton should not be implemented as a global or static object because: (a) no guarantee only one static object is declared, (b) insufficient information may exist at static initialization time, (c) C++ does not define constructor order across translation units.

Source: entries/2026/06/17/gof-oo-chunk-10.md

Depended on by

JSON