MCPcopy Create free account
hub / github.com/pybind/pybind11 / rtrn_shmp

Function rtrn_shmp

tests/test_class_sh_basic.cpp:81–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79std::string pass_mptr(atyp* obj) { return "pass_mptr:" + obj->mtxt; }
80
81std::shared_ptr<atyp> rtrn_shmp() { return std::make_shared<atyp>("rtrn_shmp"); }
82std::shared_ptr<atyp const> rtrn_shcp() { return std::shared_ptr<atyp const>(new atyp{"rtrn_shcp"}); }
83
84std::string pass_shmp(std::shared_ptr<atyp> obj) { return "pass_shmp:" + obj->mtxt; } // NOLINT

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected