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

Method Singleton

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

The copy constructor and assignment operator are defined as deleted, which means that you can't make a copy of singleton. Note: you can achieve the same effect by declaring the constructor and the operator as private

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