MCPcopy Create free account
hub / github.com/JakubVojvoda/design-patterns-cpp / Singleton

Class Singleton

singleton/Singleton.cpp:18–58  ·  view source on GitHub ↗

* Singleton * has private static variable to hold one instance of the class * and method which gives us a way to instantiate the class */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected