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

Method getSmHld

tests/test_class_sh_shared_ptr_copy_move.cpp:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 : ShPtr(std::make_shared<FooShPtr>("Outer")), SmHld(std::make_shared<FooSmHld>("Outer")) {}
37 std::shared_ptr<FooShPtr> getShPtr() const { return ShPtr; }
38 std::shared_ptr<FooSmHld> getSmHld() const { return SmHld; }
39};
40
41} // namespace

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected