| 100 | class MyObject2 { |
| 101 | public: |
| 102 | MyObject2(const MyObject2 &) = default; |
| 103 | explicit MyObject2(int value) : value(value) { print_created(this, toString()); } |
| 104 | std::string toString() const { return "MyObject2[" + std::to_string(value) + "]"; } |
| 105 | virtual ~MyObject2() { print_destroyed(this); } |
no test coverage detected