| 83 | class MyObject2 { |
| 84 | public: |
| 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); } |
no test coverage detected