MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / take_shared_ptr

Function take_shared_ptr

samples/example.cpp:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59};
60
61void take_shared_ptr(const std::shared_ptr<const std::string> &p)
62{
63 std::cout << *p << '\n';
64}
65
66int main(int /*argc*/, char * /*argv*/[]) {
67 using namespace chaiscript;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected