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

Method MyObject1

tests/test_smart_ptr.cpp:89–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87class MyObject1 : public Object {
88public:
89 explicit MyObject1(int value) : value(value) { print_created(this, toString()); }
90 std::string toString() const override { return "MyObject1[" + std::to_string(value) + "]"; }
91
92protected:

Callers 1

test_smart_ptrFunction · 0.80

Calls 1

print_createdFunction · 0.85

Tested by

no test coverage detected