| 112 | class MyObject3 : public std::enable_shared_from_this<MyObject3> { |
| 113 | public: |
| 114 | MyObject3(const MyObject3 &) = default; |
| 115 | explicit MyObject3(int value) : value(value) { print_created(this, toString()); } |
| 116 | std::string toString() const { return "MyObject3[" + std::to_string(value) + "]"; } |
| 117 | virtual ~MyObject3() { print_destroyed(this); } |
no test coverage detected