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

Function rtrn_shcp

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

Source from the content-addressed store, hash-verified

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
85std::string pass_shcp(std::shared_ptr<atyp const> obj) { return "pass_shcp:" + obj->mtxt; } // NOLINT

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected