{"id":"singleton-not-global-static-object-cpp","text":"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.","truth_value":"IN","source":"entries/2026/06/17/gof-oo-chunk-10.md","source_url":"","source_hash":"","justifications":[],"dependents":["cpp-constraints-form-systematic-language-adaptation-layer","cpp-imposes-pattern-specific-implementation-hazards","singleton-controlled-global-access"],"metadata":{"last_premise_reviewed":"2026-06-17T18:19:22","premise_review_result":"pass"},"created_at":"2026-06-17T17:04:08+00:00","updated_at":"2026-06-17T17:04:08+00:00","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"singleton-not-global-static-object-cpp","truth_value":"IN","reason":"premise"}]}}