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

Method getShPtr

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

Source from the content-addressed store, hash-verified

35 Outer()
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected