MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / MyObject2

Method MyObject2

deps/pybind11-2.13.1/tests/test_smart_ptr.cpp:85–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83class MyObject2 {
84public:
85 MyObject2(const MyObject2 &) = default;
86 explicit MyObject2(int value) : value(value) { print_created(this, toString()); }
87 std::string toString() const { return "MyObject2[" + std::to_string(value) + "]"; }
88 virtual ~MyObject2() { print_destroyed(this); }

Callers 1

test_smart_ptrFunction · 0.80

Calls 1

print_createdFunction · 0.85

Tested by

no test coverage detected