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

Function pass_udcp

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

Source from the content-addressed store, hash-verified

98
99std::string pass_udmp(std::unique_ptr<atyp, sddm> obj) { return "pass_udmp:" + obj->mtxt; }
100std::string pass_udcp(std::unique_ptr<atyp const, sddc> obj) { return "pass_udcp:" + obj->mtxt; }
101
102std::unique_ptr<atyp, custom_deleter> rtrn_udmp_del() { return std::unique_ptr<atyp, custom_deleter>(new atyp{"rtrn_udmp_del"}, custom_deleter{"udmp_deleter"}); }
103std::unique_ptr<atyp const, custom_deleter> rtrn_udcp_del() { return std::unique_ptr<atyp const, custom_deleter>(new atyp{"rtrn_udcp_del"}, custom_deleter{"udcp_deleter"}); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected