The _registry variable in Creational_Patterns/Singleton/registry_of_singletons/Singleton.cpp is not yet correctly initialized (see also the TODO in that file). We should initialize it to something feasible so that we don't get a crash when running the example.
The
_registry
variable inCreational_Patterns/Singleton/registry_of_singletons/Singleton.cpp
is not yet correctly initialized (see also the TODO in that file). We should initialize it to something feasible so that we don't get a crash when running the example.