MCPcopy Create free account
hub / github.com/ThePhD/sol2 / doSomething

Method doSomething

examples/source/singleton.cpp:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 static std::shared_ptr<SomeLib> getInstance();
16
17 int doSomething() const {
18 return 20;
19 }
20
21 // destructor must be public to work with
22 // std::shared_ptr and friends

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected