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

Method Outer

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

Source from the content-addressed store, hash-verified

33 std::shared_ptr<FooShPtr> ShPtr;
34 std::shared_ptr<FooSmHld> SmHld;
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};

Callers 6

test_valu_getterFunction · 0.80
test_valu_setterFunction · 0.80
test_shpFunction · 0.80
test_uqpFunction · 0.80
_check_propertyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected