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

Function pass_shcp

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

NOLINT

Source from the content-addressed store, hash-verified

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
86
87std::unique_ptr<atyp> rtrn_uqmp() { return std::unique_ptr<atyp >(new atyp{"rtrn_uqmp"}); }
88std::unique_ptr<atyp const> rtrn_uqcp() { return std::unique_ptr<atyp const>(new atyp{"rtrn_uqcp"}); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected