| 19 | struct Foo |
| 20 | { |
| 21 | Foo() : copied(false) { id = _id()++; } |
| 22 | Foo(Foo const& other) : id(other.id), copied(true) { } |
| 23 | Foo(Foo&& other) : id(other.id), copied(other.copied) { other.copied = true; } |
| 24 | Foo& operator=(Foo&& other) |
nothing calls this directly
no outgoing calls
no test coverage detected