| 158 | static void reset() { createCount() = 0; destroyCount() = 0; nextId() = 0; destroyedInOrder() = true; lastDestroyedId() = -1; } |
| 159 | |
| 160 | Foo() { id = nextId()++; ++createCount(); } |
| 161 | Foo(Foo const&) MOODYCAMEL_DELETE_FUNCTION; |
| 162 | Foo(Foo&& other) { id = other.id; other.id = -1; } |
| 163 | void operator=(Foo&& other) { id = other.id; other.id = -1; } |
nothing calls this directly
no outgoing calls
no test coverage detected